From fbdf2528765323ba8c84e547a95b1dcbafd07239 Mon Sep 17 00:00:00 2001 From: "rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Tue, 21 Dec 2004 10:14:38 +0000 Subject: BUILD : 1.7.6 (495) BUGS : N/A NOTES : Moved global regarding the deletion of non-existing session toinside the if(debug) as anope will call that function when users ping out etc git-svn-id: svn://svn.anope.org/anope/trunk@495 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@349 5417fbe8-f217-4b02-8779-1006273d7864 --- src/sessions.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/sessions.c b/src/sessions.c index f2726ba10..73bee9ad3 100644 --- a/src/sessions.c +++ b/src/sessions.c @@ -286,10 +286,10 @@ void del_session(const char *host) session = findsession(host); if (!session) { - anope_cmd_global(s_OperServ, - "WARNING: Tried to delete non-existant session: \2%s", - host); if (debug) { + anope_cmd_global(s_OperServ, + "WARNING: Tried to delete non-existant session: \2%s", + host); alog("session: Tried to delete non-existant session: %s", host); } -- cgit