summaryrefslogtreecommitdiff
path: root/src/listmode.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-09-03 14:13:21 +0200
committerattilamolnar <attilamolnar@hush.com>2013-09-15 15:01:16 +0200
commit2eb472ec539925158b7d75cf413c60c5c7b93d8e (patch)
tree2d78c25a0d4e77a3b4f90331c493fcaf6fc4a5cb /src/listmode.cpp
parent3b5353a00bd545085be42c55fbbadd6a041d04f5 (diff)
Remove redundant parameter.clear()s from mode handlers
Diffstat (limited to 'src/listmode.cpp')
-rw-r--r--src/listmode.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp
index 3c9183ff7..33578b738 100644
--- a/src/listmode.cpp
+++ b/src/listmode.cpp
@@ -156,7 +156,6 @@ ModeAction ListModeBase::OnModeChange(User* source, User*, Channel* channel, std
{
/* List is full, give subclass a chance to send a custom message */
TellListTooLong(source, channel, parameter);
- parameter.clear();
return MODEACTION_DENY;
}
@@ -199,7 +198,6 @@ ModeAction ListModeBase::OnModeChange(User* source, User*, Channel* channel, std
/* Tried to remove something that wasn't set */
TellNotSet(source, channel, parameter);
- parameter.clear();
return MODEACTION_DENY;
}
}