Federico G. Schwindt
48ea69d778
Remove unneded IRC_SetPenalty() calls
...
IRC_WriteErrClient() already calls IRC_SetPenalty(). While here convert
some IRC_SetPenalty() + IRC_WriteStrClient() to IRC_WriteErrClient().
2013-11-06 18:28:09 +00:00
Alexander Barton
b86e33ef49
irc-macros.h: Update copyright, don't forget contributors!
2013-08-06 23:36:16 +02:00
Alexander Barton
313881d0c1
Add penalty times in error paths of generic IRC helper macros
...
Add a 2 second penalty time when the number of parameters is invalid.
2013-07-30 22:08:04 +02:00
Alexander Barton
7f99f7c14f
Add new _IRC_ARGC_EQ_OR_RETURN_ macro to irc-macros.h
2013-02-24 16:20:27 +01:00
Alexander Barton
883a8fa6f1
Add new _IRC_ARGC_BETWEEN_OR_RETURN_ macro to irc-macros.h
2013-02-24 16:14:13 +01:00
Alexander Barton
a917514546
Add new irc-macros.h to project
...
This file prvides some macros for common tasks required by functions
implementing handlers for IRC commands:
* _IRC_ARGC_LE_OR_RETURN_
* _IRC_ARGC_GE_OR_RETURN_
* _IRC_GET_SENDER_OR_RETURN_
* _IRC_GET_TARGET_SERVER_OR_RETURN_
2013-02-09 23:55:42 +01:00