* +------------------------------------+
*
* InspIRCd: (C) 2002-2009 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * See: http://wiki.inspircd.org/Credits
*
* This program is free but copyrighted software; see
* the file COPYING for details.
class ModuleClones : public Module
{
private:
- CommandClones *mycommand;
+ CommandClones cmd;
public:
- ModuleClones(InspIRCd* Me) : Module(Me)
+ ModuleClones(InspIRCd* Me) : Module(Me), cmd(Me)
{
-
- mycommand = new CommandClones(ServerInstance);
- ServerInstance->AddCommand(mycommand);
-
+ ServerInstance->AddCommand(&cmd);
}
virtual ~ModuleClones()