Module: ngircd.git Branch: master Commit: 08f9d31d60220e8a389a2d24f42625be7749f090 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=08f9d...
Author: Federico G. Schwindt fgsch@lodoss.net Date: Thu Sep 5 17:01:49 2013 +0100
Rework check for number of parameters
Move most of the checks that return numeric 461 into Handle_Request().
---
src/ngircd/irc-cap.c | 2 - src/ngircd/irc-channel.c | 4 -- src/ngircd/irc-encoding.c | 4 -- src/ngircd/irc-info.c | 17 ------ src/ngircd/irc-login.c | 8 --- src/ngircd/irc-metadata.c | 4 -- src/ngircd/irc-mode.c | 3 -- src/ngircd/irc-op.c | 2 - src/ngircd/irc-oper.c | 22 -------- src/ngircd/irc-server.c | 4 -- src/ngircd/irc.c | 4 -- src/ngircd/parse.c | 131 ++++++++++++++++++++++++--------------------- src/ngircd/parse.h | 2 + 13 files changed, 73 insertions(+), 134 deletions(-)
Diff: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commitdiff;h=0...