summaryrefslogtreecommitdiff
path: root/src/modules/m_testcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_testcommand.cpp')
-rw-r--r--src/modules/m_testcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index 9e1da629a..8fdaff94f 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -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);