summaryrefslogtreecommitdiff
path: root/src/modules/m_uninvite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_uninvite.cpp')
-rw-r--r--src/modules/m_uninvite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp
index 697e46908..a1b483690 100644
--- a/src/modules/m_uninvite.cpp
+++ b/src/modules/m_uninvite.cpp
@@ -32,7 +32,7 @@ extern InspIRCd* ServerInstance;
class cmd_uninvite : public command_t
{
public:
- cmd_uninvite () : command_t("UNINVITE", 0, 2)
+ cmd_uninvite (InspIRCd* Instance) : command_t(Instance,"UNINVITE", 0, 2)
{
this->source = "m_uninvite.so";
syntax = "<nick> <channel>";
@@ -95,7 +95,7 @@ class ModuleUninvite : public Module
ModuleUninvite(InspIRCd* Me) : Module::Module(Me)
{
- mycommand = new cmd_uninvite();
+ mycommand = new cmd_uninvite(ServerInstance);
ServerInstance->AddCommand(mycommand);
}