summaryrefslogtreecommitdiff
path: root/src/modules/m_nicklock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r--src/modules/m_nicklock.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index 2f80e0d51..d63c74633 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -33,7 +33,7 @@ class cmd_nicklock : public command_t
{
char* dummy;
public:
- cmd_nicklock () : command_t("NICKLOCK", 'o', 2)
+ cmd_nicklock (InspIRCd* Instance) : command_t(Instance,"NICKLOCK", 'o', 2)
{
this->source = "m_nicklock.so";
syntax = "<oldnick> <newnick>";
@@ -70,7 +70,7 @@ class cmd_nicklock : public command_t
class cmd_nickunlock : public command_t
{
public:
- cmd_nickunlock () : command_t("NICKUNLOCK", 'o', 1)
+ cmd_nickunlock (InspIRCd* Instance) : command_t(Instance,"NICKUNLOCK", 'o', 1)
{
this->source = "m_nickunlock.so";
syntax = "<locked-nick>";
@@ -99,8 +99,8 @@ class ModuleNickLock : public Module
: Module::Module(Me)
{
- cmd1 = new cmd_nicklock();
- cmd2 = new cmd_nickunlock();
+ cmd1 = new cmd_nicklock(ServerInstance);
+ cmd2 = new cmd_nickunlock(ServerInstance);
ServerInstance->AddCommand(cmd1);
ServerInstance->AddCommand(cmd2);
}