mirror of
https://github.com/anope/anope.git
synced 2026-07-05 04:53:12 +02:00
Replaced notice() with direct call to SendMessage() in IRCDProto class.
Added SendNoticeInternal() function to IRCDProto class, now SendNotice() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1336 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+6
-6
@@ -6,9 +6,9 @@
|
||||
* Please read COPYING and README for further details.
|
||||
*
|
||||
* Based on the original code of Epona by Lara.
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
* Based on the original code of Services by Andy Church.
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -27,13 +27,13 @@ int send_timeout_list(User * u)
|
||||
{
|
||||
Timeout *to, *last;
|
||||
|
||||
notice(s_OperServ, u->nick, "Now: %ld", (long int) time(NULL));
|
||||
ircdproto->SendMessage(s_OperServ, u->nick, "Now: %ld", (long int) time(NULL));
|
||||
for (to = timeouts, last = NULL; to; last = to, to = to->next) {
|
||||
notice(s_OperServ, u->nick, "0x%p: %ld: 0x%p (0x%p)",
|
||||
ircdproto->SendMessage(s_OperServ, u->nick, "0x%p: %ld: 0x%p (0x%p)",
|
||||
(void *) to, (long int) to->timeout, (void *) to->code,
|
||||
(void *) to->data);
|
||||
if (to->prev != last)
|
||||
notice(s_OperServ, u->nick,
|
||||
ircdproto->SendMessage(s_OperServ, u->nick,
|
||||
" to->prev incorrect! expected=0x%p seen=0x%p",
|
||||
(void *) last, (void *) to->prev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user