summaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-25 12:28:39 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-25 12:28:39 +0100
commitf3f8eae2cd68d8ce2c57f5df58db5833fb659cf5 (patch)
treea4c6114b60a5cc62cab420283f454c7cf830e561 /src/xline.cpp
parent074727e7a74f8dcef6c250faf6a757f0274d27db (diff)
Omit the server name internally when building a /STATS reply and prepend it later
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}