X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/010a3f7b8b4660e188688632e83b7fcfed243fbd..78546f2b0f59b5c8fede1ce5535972716eb17041:/lua/luabot.c diff --git a/lua/luabot.c b/lua/luabot.c index a7a36922..a4d5fc67 100644 --- a/lua/luabot.c +++ b/lua/luabot.c @@ -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;