Show the version number on startup because JamesOff wants it

This patch is from SilverLeo. (The commit msg is basically, too)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1075 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-05-28 14:48:31 +00:00
parent 13ddd325f9
commit e8d4323c2e
+2 -1
View File
@@ -204,6 +204,7 @@ int main(int argc, char** argv) {
CUtils::PrintMessage("Staying open for debugging [pid: " + CString(iPid) + "]");
pZNC->WritePidFile(iPid);
CUtils::PrintMessage(CZNC::GetTag());
#else
CUtils::PrintAction("Forking into the background");
@@ -220,7 +221,7 @@ int main(int argc, char** argv) {
CUtils::PrintStatus(true, "[pid: " + CString(iPid) + "]");
pZNC->WritePidFile(iPid);
CUtils::PrintMessage(CZNC::GetTag(false));
CUtils::PrintMessage(CZNC::GetTag());
exit(0);
}