summaryrefslogtreecommitdiff
path: root/src/modules/m_chgident.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chgident.cpp')
-rw-r--r--src/modules/m_chgident.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp
index d52691054..b570feb46 100644
--- a/src/modules/m_chgident.cpp
+++ b/src/modules/m_chgident.cpp
@@ -20,9 +20,9 @@
class CommandChgident : public Command
{
public:
- CommandChgident (InspIRCd* Instance, Module* Creator) : Command(Instance, Creator,"CHGIDENT", "o", 2)
+ CommandChgident(Module* Creator) : Command(Creator,"CHGIDENT", 2)
{
- syntax = "<nick> <newident>";
+ flags_needed = 'o'; syntax = "<nick> <newident>";
TRANSLATE3(TR_NICK, TR_TEXT, TR_END);
}
@@ -80,7 +80,7 @@ class ModuleChgIdent : public Module
CommandChgident cmd;
public:
- ModuleChgIdent(InspIRCd* Me) : Module(Me), cmd(Me, this)
+ ModuleChgIdent(InspIRCd* Me) : Module(Me), cmd(this)
{
ServerInstance->AddCommand(&cmd);
}