summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-04 01:10:53 +0100
committerubq323 <ubq323@ubq323.website>2022-08-04 01:10:53 +0100
commitdf56e3fbe957bfff99a4c567b8079b2a01cbba3c (patch)
tree93977e22f1e49938f1d7d80a516bd481e952265d
parent7cfef16a8f2282520da24eea07d1ebe10294c99f (diff)
chat
-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)