diff options
Diffstat (limited to 'modules/extra/m_sql_authentication.cpp')
-rw-r--r-- | modules/extra/m_sql_authentication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_sql_authentication.cpp b/modules/extra/m_sql_authentication.cpp index bbd4e8b23..823090884 100644 --- a/modules/extra/m_sql_authentication.cpp +++ b/modules/extra/m_sql_authentication.cpp @@ -92,7 +92,7 @@ class ModuleSQLAuthentication : public Module EventReturn OnPreCommand(CommandSource &source, Command *command, std::vector<Anope::string> ¶ms) anope_override { - if (!this->disable_reason.empty() && command->name == "nickserv/register") + if (!this->disable_reason.empty() && (command->name == "nickserv/register" || command->name == "nickserv/group")) { source.Reply(this->disable_reason); return EVENT_STOP; |