Simplify mode checking on channels and users within a channel
authorFederico G. Schwindt <fgsch@lodoss.net>
Sun, 4 Aug 2013 17:28:04 +0000 (18:28 +0100)
committerFederico G. Schwindt <fgsch@lodoss.net>
Sun, 4 Aug 2013 17:28:04 +0000 (18:28 +0100)
commitc74115f25c8ea3f67c75120c0a1398975bac03ad
tree3ad767db42d46bbf31a0b195a9079794c21aa942
parent672a1679639d597cf1c4336687ac78dcc24a9559
Simplify mode checking on channels and users within a channel

Add Channel_HasMode() and Channel_UserHasMode() and use it where
possible.
src/ngircd/channel.c
src/ngircd/channel.h
src/ngircd/irc-channel.c
src/ngircd/irc-info.c
src/ngircd/irc-mode.c
src/ngircd/irc-op.c
src/ngircd/irc.c
src/ngircd/numeric.c