summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 18:49:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 18:49:42 +0000
commit6230b5c33d1820fd42f4c899468f1e963756df2b (patch)
tree613aca57fc59b66a3dc590457e0a84dfeb1fc71f /src
parent347e25f83d2d8403851e8bdcbf27d987abbd8fd5 (diff)
Typo in declaration
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2539 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_testcommand.cpp2
-rw-r--r--src/modules/m_userip.cpp2
2 files changed, 2 insertions, 2 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);
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp
index a5e8b9bef..562f51c17 100644
--- a/src/modules/m_userip.cpp
+++ b/src/modules/m_userip.cpp
@@ -54,7 +54,7 @@ class cmd_userip : public command_t
class ModuleUserIP : public Module
{
- cmd_userip* myommand;
+ cmd_userip* mycommand;
public:
ModuleUserIP(Server* Me)
: Module::Module(Me)