diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-08 15:02:12 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-08 15:02:12 +0000 |
commit | 38456992a31c9a44b552240b2a8f254efcb02485 (patch) | |
tree | 41353ce4ad5a7a4ebe5e97c8bf4873fb6e1638ab /include | |
parent | e7bd9f9894b5f3de5a7aaaac0692821abd6283c5 (diff) |
Fix 'item not on list' output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5162 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/u_listmode.h | 10 |
1 files 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; } |