]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/tcpclient.cpp
Started to add the end monster stuff
[irc/gameservirc.git] / gameserv / tcpclient.cpp
index 1c00bbddf2e08680a8b610a6e430af00e8a48712..7e28b16532f96a233bb7e93ac246f1b9df818607 100644 (file)
@@ -36,7 +36,7 @@ using std::cerr;
 using std::endl;
 
 char *PACKAGE = "GameServ";
-char *VERSION = "1.1.8";
+char *VERSION = "1.1.9";
 
 int sock;
 int day;
@@ -582,9 +582,9 @@ int daemon(int nochdir, int noclose)
         case -1: return -1;
         default: 
                ofstream outfile;
-               outfile.open("gameserv.pid");
+               outfile.open(pidfile);
                if (outfile.fail())
-                   cerr << "Unable to open gameserv.pid" << endl;
+                   cerr << "Unable to open " << pidfile << endl;
                outfile << pid << endl;
                outfile.close();