From 7ad83b335bf949d80576a2b94d19a39698e673fb Mon Sep 17 00:00:00 2001 From: murcat Date: Thu, 12 Feb 2015 18:01:04 +0000 Subject: [PATCH] Update bot.lua --- bot/bot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/bot.lua b/bot/bot.lua index 7ed6756..928d76d 100644 --- a/bot/bot.lua +++ b/bot/bot.lua @@ -73,7 +73,7 @@ function do_action(msg) end -- We can't do anything - if msg.text == nil return false end + if msg.text == nil then return false end msg.text = do_lex(msg, text)