From 0a08b4f37ff68293f2a9d9d426a88eed5aa9ef84 Mon Sep 17 00:00:00 2001 From: mcmlxxix <> Date: Mon, 22 Aug 2011 16:08:57 +0000 Subject: [PATCH] fix bug in previous commit :| --- exec/load/ircbot_commands.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exec/load/ircbot_commands.js b/exec/load/ircbot_commands.js index 61af67ca2f..24c6fbcd92 100644 --- a/exec/load/ircbot_commands.js +++ b/exec/load/ircbot_commands.js @@ -626,10 +626,11 @@ Server_Commands["PRIVMSG"] = function (srv,cmd,onick,ouh) { } /* check main bot commands */ - try + try { srv.bot_command(srv,Bot_Commands,chan.name,onick,ouh,cmd.join(" ")); - catch(e) + } catch(e) { srv.o(chan.name,e); + } for(var m in Modules) { var module=Modules[m]; -- GitLab