summaryrefslogtreecommitdiff
path: root/src/timeout.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:11:32 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:11:32 +0000
commitd3f58dcd4f97589ddeddd665eedede29ad6baa28 (patch)
treebb53cade468e006cb5f6dd263d124f6b66b345d4 /src/timeout.c
parent552c4a47b18a3373b46512a00bfce360f30a5cea (diff)
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
Diffstat (limited to 'src/timeout.c')
-rw-r--r--src/timeout.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/timeout.c b/src/timeout.c
index 263d3e6e0..544d05435 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -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);
}