From f3f8eae2cd68d8ce2c57f5df58db5833fb659cf5 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sat, 25 Jan 2014 12:28:39 +0100 Subject: Omit the server name internally when building a /STATS reply and prepend it later --- 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 d2fd9a5be..20693b599 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -471,7 +471,7 @@ void XLineManager::InvokeStats(const std::string &type, int numeric, User* user, ExpireLine(n, i); } else - results.push_back(ServerInstance->Config->ServerName+" "+ConvToStr(numeric)+" "+user->nick+" :"+i->second->Displayable()+" "+ + results.push_back(ConvToStr(numeric)+" "+user->nick+" :"+i->second->Displayable()+" "+ ConvToStr(i->second->set_time)+" "+ConvToStr(i->second->duration)+" "+i->second->source+" :"+i->second->reason); i = safei; } -- cgit v1.3.1-10-gc9f91