diff options
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()); } |