summaryrefslogtreecommitdiff
path: root/src/snomasks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/snomasks.cpp')
-rw-r--r--src/snomasks.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/snomasks.cpp b/src/snomasks.cpp
index 2309b9ac0..1a130fb5a 100644
--- a/src/snomasks.cpp
+++ b/src/snomasks.cpp
@@ -135,9 +135,11 @@ void Snomask::Flush()
{
a->WriteServ("NOTICE %s :*** %s: %s", a->nick, this->Description.c_str(), this->LastMessage.c_str());
+ ServerInstance->Logs->Log("snomask", DEFAULT, "%s: %s", this->Description.c_str(), this->LastMessage.c_str());
if (Count > 1)
{
a->WriteServ("NOTICE %s :*** %s: (last message repeated %u times)", a->nick, this->Description.c_str(), Count);
+ ServerInstance->Logs->Log("snomask", DEFAULT, "%s: (last message repeated %u times)", this->Description.c_str(), Count);
}
}
}