X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_svshold.cpp;h=ec7fb1a1100283e59cf462bdec8fe92b03bdc200;hb=80e81e3b81b779901fd9d67f8ae030ee30c0bcec;hp=58ac4b6009e60cad8a2653e04e2b09b0ecdd70a0;hpb=44489ddf7e90413d8f656aea24d74445bab227af;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp index 58ac4b600..ec7fb1a11 100644 --- a/src/modules/m_svshold.cpp +++ b/src/modules/m_svshold.cpp @@ -1,14 +1,14 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2019 Matt Schatz + * Copyright (C) 2019-2020 Matt Schatz * Copyright (C) 2018 linuxdaemon * Copyright (C) 2013, 2017-2018, 2020 Sadie Powell - * Copyright (C) 2012, 2018-2019 Robby + * Copyright (C) 2012, 2019 Robby * Copyright (C) 2012, 2014, 2016 Attila Molnar * Copyright (C) 2009 Daniel De Graaf - * Copyright (C) 2007-2008 Robin Burchell * Copyright (C) 2007-2008 Dennis Friis + * Copyright (C) 2006-2008 Robin Burchell * Copyright (C) 2006 Craig Edwards * * This file is part of InspIRCd. InspIRCd is free software: you can @@ -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()); }