]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modes/cmode_k.cpp
apparently ar -s is equivalent to ranlib, except it doesnt have a fucking noisy non...
[user/henk/code/inspircd.git] / src / modes / cmode_k.cpp
index 34d8a64523762cd82068dc87efbf7598c2d726ae..3d8fc7ab3a3f8672ff58e0020db00c1a9522dbaf 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
@@ -21,7 +21,7 @@ ModeChannelKey::ModeChannelKey(InspIRCd* Instance) : ModeHandler(Instance, 'k',
 {
 }
 
-ModePair ModeChannelKey::ModeSet(User* source, User* dest, Channel* channel, const std::string &parameter)
+ModePair ModeChannelKey::ModeSet(User*, User*, Channel* channel, const std::string &parameter)
 {       
         if (channel->modes[CM_KEY])
         {
@@ -48,17 +48,17 @@ void ModeChannelKey::RemoveMode(Channel* channel)
        }
 }
 
-void ModeChannelKey::RemoveMode(User* user)
+void ModeChannelKey::RemoveMode(User*)
 {
 }
 
-bool ModeChannelKey::CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, Channel* channel)
+bool ModeChannelKey::CheckTimeStamp(time_t, time_t, const std::string &their_param, const std::string &our_param, Channel*)
 {
        /* When TS is equal, the alphabetically later channel key wins */
        return (their_param < our_param);
 }
 
-ModeAction ModeChannelKey::OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding)
+ModeAction ModeChannelKey::OnModeChange(User* source, User*, Channel* channel, std::string &parameter, bool adding)
 {
        if ((channel->modes[CM_KEY] != adding) || (!IS_LOCAL(source)))
        {