From 6c7a3ceb6c674a9af09da955ee0238e9291cf29a Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 12 Nov 2013 06:51:31 -0500 Subject: Use WriteNumeric() everywhere we send numerics and include the user's nick automatically --- src/modes/umode_s.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modes/umode_s.cpp') diff --git a/src/modes/umode_s.cpp b/src/modes/umode_s.cpp index d06ef64cb..b355cb824 100644 --- a/src/modes/umode_s.cpp +++ b/src/modes/umode_s.cpp @@ -102,7 +102,7 @@ std::string ModeUserServerNoticeMask::ProcessNoticeMasks(User* user, const std:: { if (!ServerInstance->SNO->IsSnomaskUsable(*i)) { - user->WriteNumeric(ERR_UNKNOWNSNOMASK, "%s %c :is unknown snomask char to me", user->nick.c_str(), *i); + user->WriteNumeric(ERR_UNKNOWNSNOMASK, "%c :is unknown snomask char to me", *i); continue; } } -- cgit v1.2.3