diff options
author | Matt Schatz <genius3000@g3k.solutions> | 2020-06-07 17:32:53 -0600 |
---|---|---|
committer | Matt Schatz <genius3000@g3k.solutions> | 2020-06-07 17:32:53 -0600 |
commit | 040b16dd6a9cab6ea1ec78eb2a402c7f29b1c09c (patch) | |
tree | f559c11e5799e67934fbaa384ae7e2eb342bf5f5 /src/modules | |
parent | 31815edd6a6b98434bace5359234d2b47397ee0a (diff) |
Change to local snotices for an SVSHOLD addition.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_svshold.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()); } |