]> jfr.im git - irc/quakenet/newserv.git/blobdiff - channel/channel.h
Merge default.
[irc/quakenet/newserv.git] / channel / channel.h
index 846cc2729e128e3c6803923860abab34a7461994..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,8 +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(nick *np, chanban *bp, int visibleonly);
+int nickbanned(nick *np, channel *cp, int visibleonly);
 
 /* functions from channelindex.c */
 void initchannelindex();