1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 03:16:38 +02:00

Also make m_sql_authentication block nick grouping if it is disabling registration

This commit is contained in:
Adam
2014-01-04 12:24:04 -05:00
parent e1ce6174ce
commit ac204745c8
+1 -1
View File
@@ -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;