From e0412d5161891c04faf2050cc02e8a9cffdda8a4 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 23 Jan 2015 20:09:31 +0000 Subject: Use ERR_YOUREBANNEDCREEP instead of NOTICE when a user is banned. This is specified in RFC 1459 so we should probably use it. --- src/xline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xline.cpp') diff --git a/src/xline.cpp b/src/xline.cpp index 13124a392..dedf8c7a9 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -531,7 +531,7 @@ void XLine::DefaultApply(User* u, const std::string &line, bool bancache) const std::string banReason = line + "-Lined: " + reason; if (!ServerInstance->Config->XLineMessage.empty()) - u->WriteNotice("*** " + ServerInstance->Config->XLineMessage); + u->WriteNumeric(ERR_YOUREBANNEDCREEP, ":" + ServerInstance->Config->XLineMessage); if (ServerInstance->Config->HideBans) ServerInstance->Users->QuitUser(u, line + "-Lined", &banReason); -- cgit v1.2.3