From b868bb52c55fc902e0acab3c4a43576826817e85 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 24 Oct 2009 03:29:58 +0000 Subject: Get rid of ModePair git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11963 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/cmode_l.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/modes/cmode_l.cpp') 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 */ -- cgit v1.3.1-10-gc9f91