]> jfr.im git - irc/quakenet/newserv.git/blobdiff - channel/channel.h
LUA: add function for channel chanop notice
[irc/quakenet/newserv.git] / channel / channel.h
index cc4d1656565e6295e29790c196bcb3b535d62a86..0053682b6b30c2358a9206b51f16e69785d8bc0d 100644 (file)
@@ -157,7 +157,6 @@ int addnumerictochanuserhash(chanuserhash *cuh, long numeric);
 unsigned long *getnumerichandlefromchanhash(chanuserhash *cuh, long numeric);
 
 /* functions from channelalloc.c */
-void initchannelalloc();
 channel *newchan();
 void freechan(channel *cp);
 chanuserhash *newchanuserhash(int numbuckets);
@@ -167,10 +166,8 @@ void freechanuserhash(chanuserhash *cuhp);
 int setban(channel *cp, const char *ban);
 int clearban(channel *cp, const char *ban, int optional);
 void clearallbans(channel *cp);
-int nickmatchban(nick *np, chanban *bp);
-int nickbanned(nick *np, channel *cp);
-int nickmatchban_visible(nick *np, chanban *bp);
-int nickbanned_visible(nick *np, channel *cp);
+int nickmatchban(nick *np, chanban *bp, int visibleonly);
+int nickbanned(nick *np, channel *cp, int visibleonly);
 
 /* functions from channelindex.c */
 void initchannelindex();