From: Alexander Barton Date: Sat, 9 Feb 2013 22:58:11 +0000 (+0100) Subject: Update irc-info.c to use irc-macros.h X-Git-Tag: rel-21-rc1~133^2 X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=5dce3301bd3e9c26e1c1371379366a0aaba32e20;hp=5dce3301bd3e9c26e1c1371379366a0aaba32e20;p=ngircd-alex.git 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. ---