]> jfr.im git - irc/quakenet/newserv.git/blobdiff - lua/luabot.c
CHANSERV: fix issue where chanserv_relay doesn't wait for db to be loaded before...
[irc/quakenet/newserv.git] / lua / luabot.c
index 29231d52798420b3e08b80ee92a46a71e09aa90f..8fed58f584ab1c888dc90274fb6657b0e6c5ce51 100644 (file)
@@ -251,7 +251,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;