diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 01:00:16 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-08 01:00:16 +0000 |
commit | d5162d6e45aa484b918f4e2f97f5fcfb49b537e0 (patch) | |
tree | 6707b1f62d38a2e1912d024c8bdec66f65463329 /src/timeout.c | |
parent | 7ac7c564f5115af12f771db5b510b757b1dcc322 (diff) |
Fix various scary stuff to do with API.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1584 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/timeout.c')
-rw-r--r-- | src/timeout.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/timeout.c b/src/timeout.c index 544d05435..94280c1d9 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -19,31 +19,6 @@ static Timeout *timeouts = NULL; /*************************************************************************/ -#ifdef DEBUG_COMMANDS - -/* Send the timeout list to the given user. */ - -int send_timeout_list(User * u) -{ - Timeout *to, *last; - - ircdproto->SendMessage(s_OperServ, u->nick, "Now: %ld", (long int) time(NULL)); - for (to = timeouts, last = NULL; to; last = to, to = to->next) { - 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) - ircdproto->SendMessage(s_OperServ, u->nick, - " to->prev incorrect! expected=0x%p seen=0x%p", - (void *) last, (void *) to->prev); - } - return MOD_CONT; -} - -#endif /* DEBUG_COMMANDS */ - -/*************************************************************************/ - /* Check the timeout list for any pending actions. */ void check_timeouts(void) |