summaryrefslogtreecommitdiff
path: root/src/irc/core/modes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/modes.h')
-rw-r--r--src/irc/core/modes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irc/core/modes.h b/src/irc/core/modes.h
index 10ea28d5..d72e6a3c 100644
--- a/src/irc/core/modes.h
+++ b/src/irc/core/modes.h
@@ -4,6 +4,9 @@
#include "server.h"
#include "channels.h"
+#define HAS_MODE_ARG(c) ((c) == 'b' || (c) == 'e' || (c) == 'I' || \
+ (c) == 'v' || (c) == 'o' || (c) == 'l' || (c) == 'k')
+
void modes_init(void);
void modes_deinit(void);