]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.cpp
Updated the Config script to reflect true version requirments
[irc/gameservirc.git] / gameserv / gameserv.cpp
index 026b8f7ca43dcfbf486e021da48eb024985165c4..5ed0720ca5be787e61b14411ceea9974b690ccf5 100644 (file)
@@ -470,7 +470,7 @@ void notice(const char *source, const char *dest, const char *fmt, ...)
        if (isUsePrivmsg())
            strcpy(commanduse, "P");
        else
-           strcpy(commanduse, "N");
+           strcpy(commanduse, "O");
     #else
 
        if (isUsePrivmsg())
@@ -1146,8 +1146,11 @@ bool player_fight(aClient *user)
 {
     if (!is_playing(user))
        return false;
-    else
-       return user->stats->battle != NULL;
+    else if (user->stats->battle != NULL)
+    {
+       return user->stats->battle->stats != NULL;
+    }
+    return false;
 }
 
 bool master_fight(char *u)