From ec2679aaafb95892a7c5abbd462c4a1d30285471 Mon Sep 17 00:00:00 2001 From: B00mX0r Date: Tue, 19 Dec 2017 13:06:22 -0800 Subject: Add snomask alert on m_filter quit/part G-Line Resolves an oversight of #1264 --- src/modules/m_filter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp index adf3afe69..a672bc9f6 100644 --- a/src/modules/m_filter.cpp +++ b/src/modules/m_filter.cpp @@ -440,6 +440,7 @@ ModResult ModuleFilter::OnPreCommand(std::string &command, std::vectorTime(), f->gline_time, ServerInstance->Config->ServerName.c_str(), f->reason.c_str(), "*", user->GetIPString()); + ServerInstance->SNO->WriteGlobalSno('a', "FILTER: " + user->nick + " had their " + command + " message filtered and was G-Lined: " + f->reason); if (ServerInstance->XLines->AddLine(gl,NULL)) { ServerInstance->XLines->ApplyLines(); -- cgit v1.2.3