From 84a39def3dcd8d7c7a7cc45e7b7a07fe6c56060a Mon Sep 17 00:00:00 2001 From: "trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Mon, 7 Mar 2005 01:56:32 +0000 Subject: 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 --- src/hybrid.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/hybrid.c') diff --git a/src/hybrid.c b/src/hybrid.c index cce2c246a..f4cb41c65 100644 --- a/src/hybrid.c +++ b/src/hybrid.c @@ -575,8 +575,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; } -- cgit