summaryrefslogtreecommitdiff
path: root/modules/extra/m_sql_authentication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/m_sql_authentication.cpp')
-rw-r--r--modules/extra/m_sql_authentication.cpp2
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> &params) 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;