From 55808216a859688506a879f6197ca1abd2f51d1b Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 15 Feb 2010 23:02:34 +0000 Subject: Show opers the raw VERSION string, not the custom one git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12470 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/server.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server.cpp') diff --git a/src/server.cpp b/src/server.cpp index c5e784a1c..339beff7a 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -59,10 +59,10 @@ void RehashHandler::Call(const std::string &reason) } } -std::string InspIRCd::GetVersionString() +std::string InspIRCd::GetVersionString(bool operstring) { char versiondata[MAXBUF]; - if (!Config->CustomVersion.empty()) + if (!operstring && !Config->CustomVersion.empty()) { snprintf(versiondata,MAXBUF,"InspIRCd-2.0 %s :%s",Config->ServerName.c_str(),Config->CustomVersion.c_str()); } -- cgit v1.2.3