summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sessions.c6
1 files changed, 3 insertions, 3 deletions
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);
}