]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/tcpclient.cpp
Updated the Config script to reflect true version requirments
[irc/gameservirc.git] / gameserv / tcpclient.cpp
index 92f0814fb0783c0b3f4f1c0f8fb8b51f71c4a474..8226175156876f9bd5e569a5a6e959dbfd877451 100644 (file)
@@ -35,7 +35,7 @@ using std::cerr;
 using std::endl;
 
 char *PACKAGE = "GameServ";
-char *VERSION = "1.2.1 +devel";
+char *VERSION = "1.2.2 +devel";
 
 int sock;
 int day;
@@ -469,7 +469,7 @@ int main(int argc, char *argv[])
            rest = strtok(NULL, "");
            if (strnicmp(dest, s_GameServ, strlen(s_GameServ)) == 0)
                gameserv(source, rest);
-           else if (stricmp(dest, c_Forest) == 0)
+           else if (stricmp(dest, c_Forest) == 0 && isListenOnCF())
                forest(source, rest);
       #endif
       #if defined(P10)