summaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2012-07-11 20:38:17 +0100
committerattilamolnar <attilamolnar@hush.com>2012-07-27 00:14:43 +0200
commit746932587a11255e098c3b528afc6fcb4fc00902 (patch)
treebdf90455603eeda3e082c91b9797853fa2fb7f41 /src/server.cpp
parent6dbcfc3858cf58fa457bf6990760083c8a051feb (diff)
Don't hard code the branch version.
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 4bd81a6d1..b7e58c56b 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -72,7 +72,7 @@ std::string InspIRCd::GetVersionString(bool operstring)
if (operstring)
snprintf(versiondata,MAXBUF,"%s %s :%s [%s,%s,%s]",VERSION,Config->ServerName.c_str(),SYSTEM,REVISION,SE->GetName().c_str(),Config->sid.c_str());
else
- snprintf(versiondata,MAXBUF,"InspIRCd-2.0 %s :%s",Config->ServerName.c_str(),Config->CustomVersion.c_str());
+ snprintf(versiondata,MAXBUF,"%s %s :%s",BRANCH,Config->ServerName.c_str(),Config->CustomVersion.c_str());
return versiondata;
}