]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cycle.cpp
Add comments
[user/henk/code/inspircd.git] / src / modules / m_cycle.cpp
index c271f024cc92aa9a9acc8c7ae90889dae7509fa9..e8714bb5c796610e092444855acd09318eb08222 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
@@ -62,7 +62,7 @@ class CommandCycle : public Command
                                if (!channel->PartUser(user, reason.c_str()))
                                        delete channel;
                                
-                               Channel::JoinUser(ServerInstance, user, parameters[0], true, "", ServerInstance->Time(true));
+                               Channel::JoinUser(ServerInstance, user, parameters[0], true, "", false, ServerInstance->Time(true));
                        }
 
                        return CMD_LOCALONLY;
@@ -87,6 +87,7 @@ class ModuleCycle : public Module
                
                mycommand = new CommandCycle(ServerInstance);
                ServerInstance->AddCommand(mycommand);
+
        }
        
        virtual ~ModuleCycle()