diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2007-09-05 18:13:03 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2007-09-05 18:13:03 -0500 |
commit | b0c01a35bf7e2d1aa7c27c23185ce2ad85a000ee (patch) | |
tree | cbcd9cfa2d75391eb272c518c334a72bb96fd318 | |
parent | 7a511d751ffb3bd5172260d7474a1a0b57646349 (diff) | |
download | luairc-b0c01a35bf7e2d1aa7c27c23185ce2ad85a000ee.tar.gz luairc-b0c01a35bf7e2d1aa7c27c23185ce2ad85a000ee.zip |
fix !help in the evalbot
-rw-r--r-- | test/luabot.lua | 2 |
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") |