Typo in declaration

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2539 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2005-12-16 18:49:42 +00:00
parent 347e25f83d
commit 6230b5c33d
2 changed files with 2 additions and 2 deletions

View 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);

View File

@ -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)