about summary refs log tree commit diff
path: root/src/ipaddr
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-02-09 23:58:11 +0100
committerAlexander Barton <alex@barton.de>2013-02-09 23:58:11 +0100
commit5dce3301bd3e9c26e1c1371379366a0aaba32e20 (patch)
tree2a6d3203ea4c4202c40c702cb5ea9dde1ea93b20 /src/ipaddr
parenta9175145462335ef69dbc2509e2db6f2c96e635c (diff)
downloadngircd-5dce3301bd3e9c26e1c1371379366a0aaba32e20.tar.gz
ngircd-5dce3301bd3e9c26e1c1371379366a0aaba32e20.zip
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.
Diffstat (limited to 'src/ipaddr')
0 files changed, 0 insertions, 0 deletions