summaryrefslogtreecommitdiff
path: root/src/irc/core/irc.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2004-01-20 10:57:57 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2004-01-20 10:57:57 +0000
commit217283caeaf5fc19e671a56547610ceb42e2ea7b (patch)
tree7f2fa9d29fdd2d9bb9f7782f1c928a53cebe70d2 /src/irc/core/irc.h
parent3ccbd0405b8d3185a143c150a5b42070403fdc36 (diff)
downloadirssi-217283caeaf5fc19e671a56547610ceb42e2ea7b.zip
isupport patch by David Leadbeater
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3211 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc.h')
-rw-r--r--src/irc/core/irc.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/irc/core/irc.h b/src/irc/core/irc.h
index 77d7dc98..5197f42d 100644
--- a/src/irc/core/irc.h
+++ b/src/irc/core/irc.h
@@ -19,9 +19,8 @@ typedef struct _REDIRECT_REC REDIRECT_REC;
((a) == '^' || (a) == '~' || \
(a) == '+' || (a) == '=' || (a) == '-')
-#define isnickflag(a) \
- ((a) == '@' || (a) == '+' || (a) == '%' || /* op / voice */ \
- (a) == '%' || (a) == '.' || (a) == '!') /* extensions: half-op / owners */
+#define isnickflag(server, a) \
+ (server->prefix[(int)(unsigned char) a] != '\0')
#define ischannel(a) \
((a) == '#' || /* normal */ \