np = (nick *)args[0];
c = (channel *)args[1];
- if(!c || !np || !c->index || !c->index->name || !c->index->name->content)
+ if(!c || !np || !c->index || !c->index->name)
return;
lua_vlpcall(l, ln, "irc_oninvite", "Ns", np, c->index->name->content);
ln->reconnect = NULL;
if(lua_getlocalnickbynick(ln->nick, &l, &ln)) /* hacky! */
- lua_vlpcall(l, ln, "irc_onkillreconnect", "N", ln->nick);
+ lua_vlpcall(l, ln, "irc_onkillreconnect", "");
}
static int lua_localjoin(lua_State *ps) {