Module: ngircd.git Branch: master Commit: 5dce3301bd3e9c26e1c1371379366a0aaba32e20 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=5dce3...
Author: Alexander Barton alex@barton.de Date: Sat Feb 9 23:58:11 2013 +0100
Update irc-info.c to use irc-macros.h
This includes:
- move IRC_SetPenalty() at the beginning of the handler functions, - use macros provided by irc-macros.h, - code cleanup.
The main benefits of this patch are core size reduction, streamlined structure of the handler functions, and enhanced functionality: because of the _IRC_GET_TARGET_SERVER_OR_RETURN_() macro using the Client_SearchServer() function, the target of the specific IRC command can now be given server names, server mask, or the nickname of a user connected to the server.
Closes bug #153.
---
src/ngircd/irc-info.c | 460 ++++++++++++++++++------------------------------- 1 file changed, 170 insertions(+), 290 deletions(-)
Diff: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commitdiff;h=5...