From 267e2703ebbd32ff7b3cfe7b8465249d87b6fe2f Mon Sep 17 00:00:00 2001 From: prozacx Date: Sun, 3 Apr 2005 07:49:11 +0000 Subject: [PATCH] Don't fill in znc.conf if no config is passed git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@80 726aef4b-f618-498e-8847-2d620e286838 --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index a55be6d2..66f8274b 100644 --- a/main.cpp +++ b/main.cpp @@ -20,7 +20,7 @@ void die(int sig) { } int main(int argc, char** argv) { - string sConfig = "znc.conf"; + string sConfig; // initialize ssl, allow client to have compression enabled if desired InitSSL( CT_ZLIB ); @@ -47,7 +47,7 @@ int main(int argc, char** argv) { pZNC->InitDirs(((argc) ? argv[0] : "")); if (!pZNC->ParseConfig(sConfig)) { - cerr << endl << "*** Unrecoverable error while parsing [" << sConfig << "]" << endl; + cerr << endl << "*** Unrecoverable error while parsing config." << endl; delete pZNC; return 1; }