fix !help in the evalbot

master
jluehrs2 2007-09-05 18:13:03 -05:00
parent 7a511d751f
commit b0c01a35bf
1 changed files with 1 additions and 1 deletions

View File

@ -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")