diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-10-04 05:05:14 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-10-04 05:05:14 +0000 |
commit | f150f55ef0e7d4a26d4879faacccd18d27b5b258 (patch) | |
tree | 801c8207c3c4d9812c199ad0e0c20072ffe3485e /src | |
parent | 59e7ad6024936944cd2a864ea344eb3f0ccf90f2 (diff) |
BUILD : 1.7.5 (369) BUGS : N/A NOTES : Updates BUGS, fixed compiler warning if DEBUG_COMMANDS had been enabled
git-svn-id: svn://svn.anope.org/anope/trunk@369 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@240 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/operserv.c | 7 | ||||
-rw-r--r-- | src/timeout.c | 5 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/operserv.c b/src/operserv.c index a6e5e10ac..e7c4de7f0 100644 --- a/src/operserv.c +++ b/src/operserv.c @@ -114,7 +114,7 @@ static int do_svsnick(User * u); static int do_operoline(User * u); #ifdef DEBUG_COMMANDS -static void send_clone_lists(User * u); +static int send_clone_lists(User * u); static int do_matchwild(User * u); #endif @@ -925,13 +925,13 @@ void check_clones(User * user) /* Send clone arrays to given nick. */ -static void send_clone_lists(User * u) +static int send_clone_lists(User * u) { int i; if (!CheckClones) { notice(s_OperServ, u->nick, "CheckClones not enabled."); - return; + return MOD_CONT; } notice(s_OperServ, u->nick, "clonelist[]"); @@ -946,6 +946,7 @@ static void send_clone_lists(User * u) notice(s_OperServ, u->nick, " %10ld %s", warnings[i].time, warnings[i].host ? warnings[i].host : "(null)"); } + return MOD_CONT; } #endif /* DEBUG_COMMANDS */ diff --git a/src/timeout.c b/src/timeout.c index fd3c8c983..b2d91a4e6 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -13,7 +13,7 @@ */ #include "services.h" -#include "timeout.h" +#include "pseudo.h" static Timeout *timeouts = NULL; @@ -23,7 +23,7 @@ static Timeout *timeouts = NULL; /* Send the timeout list to the given user. */ -void send_timeout_list(User * u) +int send_timeout_list(User * u) { Timeout *to, *last; @@ -36,6 +36,7 @@ void send_timeout_list(User * u) " to->prev incorrect! expected=%p seen=%p", last, to->prev); } + return MOD_CONT; } #endif /* DEBUG_COMMANDS */ |