]> jfr.im git - irc/quakenet/newserv.git/blobdiff - lua/lualocal.c
TRUSTS: require sqlite
[irc/quakenet/newserv.git] / lua / lualocal.c
index 329c14bfc42bc59bd638b7e2094c754296342fe3..2d519e55e340754eb000f26b4648f69eb01b49da 100644 (file)
@@ -201,7 +201,7 @@ void lua_localnickhandler(nick *target, int type, void **args) {
       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);