]> jfr.im git - irc/quakenet/newserv.git/blobdiff - lua/luabot.c
nickwatch: Add hook for HOOK_NICK_ACCOUNT.
[irc/quakenet/newserv.git] / lua / luabot.c
index a7a3692202d0348d4fe1ce31c0fa85fc24345d8b..a4d5fc6735ebc4f72e9bfbfd94074b987151b70b 100644 (file)
@@ -248,7 +248,8 @@ void lua_bothandler(nick *target, int type, void **args) {
           p[le - 1] = '\000';
 
         lua_avpcall("irc_onctcp", "ls", np->numeric, p + 1);
-
+      } else {
+        lua_avpcall("irc_onnotice", "ls", np->numeric, p);
       }
 
       break;