X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/431748268e4864eb480a84326c2ae2ecb8d337d1..18afb5fb8815bebadb2ff5f4465c326d1b4ce3d7:/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;