From e8d4323c2e94ea816077abefc4ea030e0c47d97b Mon Sep 17 00:00:00 2001 From: psychon Date: Wed, 28 May 2008 14:48:31 +0000 Subject: [PATCH] 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 --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 172f845f..67f7e413 100644 --- a/main.cpp +++ b/main.cpp @@ -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); }