]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modes/cmode_l.cpp
Collision tweaks
[user/henk/code/inspircd.git] / src / modes / cmode_l.cpp
index 39e8b675b17aa7669bfe131e9a2795c448055446..4ed95bc2cdb934e6f3333861d5a9a8bda153af3a 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -39,7 +39,7 @@ bool ModeChannelLimit::CheckTimeStamp(time_t, time_t, const std::string &their_p
        return (atoi(their_param.c_str()) < atoi(our_param.c_str()));
 }
 
-ModeAction ModeChannelLimit::OnModeChange(User*, User*, Channel* channel, std::string &parameter, bool adding)
+ModeAction ModeChannelLimit::OnModeChange(User*, User*, Channel* channel, std::string &parameter, bool adding, bool servermode)
 {
        if (adding)
        {
@@ -92,6 +92,4 @@ ModeAction ModeChannelLimit::OnModeChange(User*, User*, Channel* channel, std::s
 
                return MODEACTION_ALLOW;
        }
-
-       return MODEACTION_DENY;
 }