summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chat.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/chat.lua b/chat.lua
index d0e73cc..872f484 100644
--- a/chat.lua
+++ b/chat.lua
@@ -1,7 +1,7 @@
local man = peripheral.find"manipulator"
-assert(man and man.hasModule"plethora:chat")
-local m = peripheral.wrap"monitor"
-assert(m)
+assert(man and man.hasModule"plethora:chat","no chat thing")
+local m = peripheral.find"monitor"
+assert(m,"no monitor")
local function p(...)
term.redirect(m)