aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/luabot.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/luabot.lua b/test/luabot.lua
index ff83b9e..84696fb 100644
--- a/test/luabot.lua
+++ b/test/luabot.lua
@@ -65,7 +65,7 @@ local commands = {
envs[from] = create_env()
end,
help = function(target, from, arg)
- if not arg then
+ if arg == "" or not arg then
irc.say(target, from .. ": Commands: !clear, !eval, !help")
elseif arg == "eval" then
irc.say(target, from .. ": Evaluates a Lua statement in your own persistent environment")