]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_testcommand.cpp
Converted more stuff to 'Implements' system
[user/henk/code/inspircd.git] / src / modules / m_testcommand.cpp
index 9e1da629afc07770568f636a7f4ba1cd40fd91f6..8fdaff94f5103e908f640fcbade42219681ada15 100644 (file)
@@ -68,7 +68,7 @@ class ModuleTestCommand : public Module
                // anyone can issue the command, and the
                // command takes only one parameter.
                newcommand = new cmd_woot();
-               Srv->AddCommand(mycommand);
+               Srv->AddCommand(newcommand);
 
                // Add a mode +Z for channels with no parameters                
                Srv->AddExtendedMode('Z',MT_CHANNEL,false,1,0);