From 6230b5c33d1820fd42f4c899468f1e963756df2b Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 18:49:42 +0000 Subject: Typo in declaration git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2539 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_testcommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_testcommand.cpp') 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); -- cgit v1.2.3