diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-07 01:56:32 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-07 01:56:32 +0000 |
commit | 84a39def3dcd8d7c7a7cc45e7b7a07fe6c56060a (patch) | |
tree | 4b7c5feb9ecd0890c066dfe4ff24098d8d203804 /src/plexus.c | |
parent | cd81294abfbab9d5ba070938265b0ac21cc15241 (diff) |
BUILD : 1.7.8 (602) BUGS : 308, 311 NOTES : Fixed a couple of bugs, some smelling errors, and only in debug will nonexistent warnings display
git-svn-id: svn://svn.anope.org/anope/trunk@602 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@450 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/plexus.c')
-rw-r--r-- | src/plexus.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/plexus.c b/src/plexus.c index 74124154a..06f1f0b70 100644 --- a/src/plexus.c +++ b/src/plexus.c @@ -636,8 +636,10 @@ int anope_event_topic(char *source, int ac, char **av) time_t topic_time = time(NULL); if (!c) { - alog("channel: TOPIC %s for nonexistent channel %s", - merge_args(ac - 1, av + 1), av[0]); + if (debug) { + alog("channel: TOPIC %s for nonexistent channel %s", + merge_args(ac - 1, av + 1), av[0]); + } return MOD_CONT; } @@ -954,8 +956,9 @@ int anope_event_sethost(char *source, int ac, char **av) u = finduser(source); if (!u) { - if (debug) + if (debug) { alog("user: SETHOST for nonexistent user %s", source); + } return MOD_CONT; } |