diff options
Diffstat (limited to 'src/modules/m_sethost.cpp')
-rw-r--r-- | src/modules/m_sethost.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 8e397c0e1..af9443efd 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -22,9 +22,9 @@ class CommandSethost : public Command private: char* hostmap; public: - CommandSethost (InspIRCd* Instance, Module* Creator, char* hmap) : Command(Instance,Creator,"SETHOST","o",1), hostmap(hmap) + CommandSethost(Module* Creator, char* hmap) : Command(Creator,"SETHOST", 1), hostmap(hmap) { - syntax = "<new-hostname>"; + flags_needed = 'o'; syntax = "<new-hostname>"; TRANSLATE2(TR_TEXT, TR_END); } @@ -67,7 +67,7 @@ class ModuleSetHost : public Module char hostmap[256]; public: ModuleSetHost(InspIRCd* Me) - : Module(Me), cmd(Me, this, hostmap) + : Module(Me), cmd(this, hostmap) { OnRehash(NULL); ServerInstance->AddCommand(&cmd); |