Module: ngircd.git Branch: master Commit: c74115f25c8ea3f67c75120c0a1398975bac03ad URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=c7411...
Author: Federico G. Schwindt fgsch@lodoss.net Date: Sun Aug 4 18:28:04 2013 +0100
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 | 100 +++++++++++++++++++++++----------------------- src/ngircd/channel.h | 4 +- src/ngircd/irc-channel.c | 34 ++++++++-------- src/ngircd/irc-info.c | 16 ++++---- src/ngircd/irc-mode.c | 22 +++++----- src/ngircd/irc-op.c | 14 +++---- src/ngircd/irc.c | 6 +-- src/ngircd/numeric.c | 14 +++---- 8 files changed, 104 insertions(+), 106 deletions(-)
Diff: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commitdiff;h=c...
ngircd-commits@lists.barton.de