summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-05 14:35:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-05 14:35:41 +0000
commit3f54de3e8be3fd61435583adeb35cfb9d7f869d9 (patch)
treebda38ae21e6be281163bc5e267f5d8cdc5a800af
parent9d558aa7436f6e1003fa093e77904cc65bc1d7d8 (diff)
More standardized version output in 002 and 004 to make indexing for version numbers better
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9351 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp
index d0023edd4..a24a1092f 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -78,11 +78,11 @@ std::string InspIRCd::GetVersionString()
char versiondata[MAXBUF];
if (*Config->CustomVersion)
{
- snprintf(versiondata,MAXBUF,"%s %s :%s",VERSION,Config->ServerName,Config->CustomVersion);
+ snprintf(versiondata,MAXBUF,"InspIRCd-1.2 %s :%s",Config->ServerName,Config->CustomVersion);
}
else
{
- snprintf(versiondata,MAXBUF,"%s %s :%s [FLAGS=%s,%s,%s]",VERSION,Config->ServerName,SYSTEM,REVISION,SE->GetName().c_str(),Config->sid);
+ snprintf(versiondata,MAXBUF,"InspIRCd-1.2 %s :%s (%s) [FLAGS=%s,%s,%s]",Config->ServerName,SYSTEM,VERSION,REVISION,SE->GetName().c_str(),Config->sid);
}
return versiondata;
}