mirror of
https://github.com/znc/znc.git
synced 2026-05-09 23:04:47 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user