]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Make PRIVMSG @#channel and PRIVMSG +#channel go to halfops and admins as well as...
authorB.Greenham <redacted>
Wed, 7 Apr 2010 20:53:59 +0000 (16:53 -0400)
committerB.Greenham <redacted>
Wed, 7 Apr 2010 20:53:59 +0000 (16:53 -0400)
6.1 is now feature complete.

TODO-SHADOW
include/channel.h

index 762556aee180a00e922aff7500154514b17ae076..1f5ad226ca8e5445567a7b2f356339857252a7d8 100644 (file)
@@ -1,7 +1,3 @@
-Todo list for ShadowIRCd 6.1
------------------------------
-* notice/message !#channel and %#channel
-
 Todo list for ShadowIRCd 6.2
 ----------------------------
 * channel::disabledmodes
index 3a74689bd45f859ad1f4f852f08b1837f2bea5a3..6896a2eca6033ab8616c904a987442199358579d 100644 (file)
@@ -156,8 +156,8 @@ typedef int (*ExtbanFunc)(const char *data, struct Client *client_p,
 #define CHFL_ADMIN             0x0080
 #define        ONLY_OPERS              0x0100
 #define ALL_MEMBERS            CHFL_PEON
-#define ONLY_CHANOPS           CHFL_CHANOP
-#define ONLY_CHANOPSVOICED     (CHFL_CHANOP|CHFL_VOICE)
+#define ONLY_CHANOPS           (CHFL_ADMIN|CHFL_CHANOP|CHFL_HALFOP)
+#define ONLY_CHANOPSVOICED     (CHFL_ADMIN|CHFL_CHANOP|CHFL_HALFOP|CHFL_VOICE)
 
 #define is_chmode_h(x) ((x) && (x)->flags & CHFL_HALFOP) /* does not check if halfop is enabled, should typically not be used */
 #define is_chmode_a(x) ((x) && (x)->flags & CHFL_ADMIN) /* does not check if admin is enabled, should typically not be used */