diff options
-rw-r--r-- | modules/commands/cs_register.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_register.cpp b/modules/commands/cs_register.cpp index 2904f5b51..52e41a4e7 100644 --- a/modules/commands/cs_register.cpp +++ b/modules/commands/cs_register.cpp @@ -67,6 +67,8 @@ class CommandCSRegister : public Command Log(LOG_COMMAND, source, this, ci); source.Reply(_("Channel \002%s\002 registered under your account: %s"), chan.c_str(), nc->display.c_str()); + FOREACH_MOD(OnChanRegistered, (ci)); + /* Implement new mode lock */ if (c) { @@ -74,8 +76,6 @@ class CommandCSRegister : public Command if (u) c->SetCorrectModes(u, true); } - - FOREACH_MOD(OnChanRegistered, (ci)); } } |