From b0c01a35bf7e2d1aa7c27c23185ce2ad85a000ee Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Wed, 5 Sep 2007 18:13:03 -0500 Subject: fix !help in the evalbot --- test/luabot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3-54-g00ecf