Added '.' to known nick flag characters. Also supports having multiple flag

chars in /NAMES list, so eg. "@+nick" works or ".@nick" which is already
used by some servers.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2559 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-03-10 16:00:38 +00:00 committed by cras
commit 15e716e283
2 changed files with 24 additions and 5 deletions

View file

@ -20,8 +20,8 @@ typedef struct _REDIRECT_REC REDIRECT_REC;
(a) == '+' || (a) == '=' || (a) == '-')
#define isnickflag(a) \
((a) == '@' || (a) == '+' || (a) == '%' || /* op / voice / half-op */ \
(a) == '-' || (a) == '~') /* no idea, just copied from somewhere.. */
((a) == '@' || (a) == '+' || (a) == '%' || /* op / voice */ \
(a) == '%' || (a) == '.') /* extensions: half-op / owner */
#define ischannel(a) \
((a) == '#' || /* normal */ \