diff options
author | Adam <Adam@anope.org> | 2014-01-04 12:24:04 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-01-04 12:24:04 -0500 |
commit | ac204745c880882e0b624deadb19e85cfdb5cba6 (patch) | |
tree | 076477f6aca74391f20a23d0493739c05b115fb7 /modules/extra/m_sql_authentication.cpp | |
parent | e1ce6174cee90b71dc461be39d2bf20965ff69e0 (diff) |
Also make m_sql_authentication block nick grouping if it is disabling registration
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; |