]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/chanserv.h
small revert
[irc/evilnet/x3.git] / src / chanserv.h
index 334bf9889c8d689fd9c50e4b2d388193a638e951..5e96a836c2b0cedd371d3b9d2e5fa8cbb1085c60 100644 (file)
 #include "nickserv.h"
 
 enum UL_ALIASES {
-    UL_PEON = 100,
+    UL_PEON = 1,
     UL_HALFOP = 150,
     UL_OP = 200,
     UL_MANAGER = 300,
-    UL_PRESENT = UL_MANAGER,
+    UL_PRESENT = UL_MANAGER, /* Level needed to keep the channel active */
     UL_COOWNER = 400,
     UL_OWNER = 500,
     UL_HELPER = 600,
@@ -222,4 +222,6 @@ char* user_level_name_from_level(int level);
 void process_adduser_pending(struct userNode *user);
 void wipe_adduser_pending(struct chanNode *channel, struct userNode *user);
 
+int check_bans(struct userNode *user, const char *channel);
+
 #endif