Fix various mode-related bugs (including SF#2964782 and SF#2966959).
[srvx.git] / src / proto.h
index 3d8e2e74083b30d637b3ad0c2609d10a36250600..99ca1099703fddf03aa3fd6b69d0e93de99dea48 100644 (file)
@@ -210,6 +210,7 @@ struct mod_chanmode {
 #define MCP_REGISTERED    0x0008 /* chan is already registered; do not allow changes to MODE_REGISTERED */
 #define MCP_UPASS_FREE    0x0010 /* -U without a key argument */
 #define MCP_APASS_FREE    0x0020 /* -A without a key argument */
+#define MCP_NO_APASS      0x0040 /* Do not allow +/-A or +/-U */
 #define MC_ANNOUNCE       0x0100 /* send a mod_chanmode() change out */
 #define MC_NOTIFY         0x0200 /* make local callbacks to announce */
 #ifdef NDEBUG