From ac204745c880882e0b624deadb19e85cfdb5cba6 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 4 Jan 2014 12:24:04 -0500 Subject: Also make m_sql_authentication block nick grouping if it is disabling registration --- modules/extra/m_sql_authentication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/extra/m_sql_authentication.cpp') 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 ¶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; -- cgit