From 040b16dd6a9cab6ea1ec78eb2a402c7f29b1c09c Mon Sep 17 00:00:00 2001 From: Matt Schatz Date: Sun, 7 Jun 2020 17:32:53 -0600 Subject: Change to local snotices for an SVSHOLD addition. --- src/modules/m_svshold.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp index 58ac4b600..e25f239a9 100644 --- a/src/modules/m_svshold.cpp +++ b/src/modules/m_svshold.cpp @@ -149,11 +149,11 @@ class CommandSvshold : public Command if (!duration) { - ServerInstance->SNO->WriteGlobalSno('x', "%s added permanent SVSHOLD for %s: %s", user->nick.c_str(), parameters[0].c_str(), parameters[2].c_str()); + ServerInstance->SNO->WriteToSnoMask('x', "%s added permanent SVSHOLD for %s: %s", user->nick.c_str(), parameters[0].c_str(), parameters[2].c_str()); } else { - ServerInstance->SNO->WriteGlobalSno('x', "%s added timed SVSHOLD for %s, expires in %s (on %s): %s", + ServerInstance->SNO->WriteToSnoMask('x', "%s added timed SVSHOLD for %s, expires in %s (on %s): %s", user->nick.c_str(), parameters[0].c_str(), InspIRCd::DurationString(duration).c_str(), InspIRCd::TimeString(ServerInstance->Time() + duration).c_str(), parameters[2].c_str()); } -- cgit v1.2.3