From 38456992a31c9a44b552240b2a8f254efcb02485 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 8 Sep 2006 15:02:12 +0000 Subject: Fix 'item not on list' output git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5162 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/u_listmode.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/include/u_listmode.h b/include/u_listmode.h index b733d7536..8315dbcd1 100644 --- a/include/u_listmode.h +++ b/include/u_listmode.h @@ -258,18 +258,16 @@ class ListModeBase : public ModeHandler } return MODEACTION_ALLOW; } - else - { - /* Tried to remove something that wasn't set */ - TellNotSet(source, channel, parameter); - } } + /* Tried to remove something that wasn't set */ + TellNotSet(source, channel, parameter); parameter = ""; return MODEACTION_DENY; } else { - // Hmm, taking an exception off a non-existant list, DIE + /* Hmm, taking an exception off a non-existant list, DIE */ + TellNotSet(source, channel, parameter); parameter = ""; return MODEACTION_DENY; } -- cgit v1.2.3