diff options
Diffstat (limited to 'src/modes/cmode_l.cpp')
-rw-r--r-- | src/modes/cmode_l.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/modes/cmode_l.cpp b/src/modes/cmode_l.cpp index 0fddf2af0..fce195200 100644 --- a/src/modes/cmode_l.cpp +++ b/src/modes/cmode_l.cpp @@ -21,19 +21,6 @@ ModeChannelLimit::ModeChannelLimit() : ModeHandler(NULL, "limit", 'l', PARAM_SET { } -ModePair ModeChannelLimit::ModeSet(User*, User*, Channel* channel, const std::string ¶meter) -{ - std::string climit = channel->GetModeParameter('l'); - if (!climit.empty()) - { - return std::make_pair(true, climit); - } - else - { - return std::make_pair(false, parameter); - } -} - bool ModeChannelLimit::ResolveModeConflict(std::string &their_param, const std::string &our_param, Channel*) { /* When TS is equal, the higher channel limit wins */ |