using std::endl;
char *PACKAGE = "GameServ";
-char *VERSION = "1.1.9";
+char *VERSION = "1.2.0 +devel";
int sock;
int day;
clients.remove(quitter);
if ((quitter = findIRCplayer(source)))
{
+ if (player_fight(quitter))
+ {
+ // Stop the fight on the other client
+ aClient *otherplayer = quitter->stats->battle;
+ otherplayer->stats->battle = NULL;
+ notice(s_GameServ, otherplayer->getNick(), "%s "\
+ "has quit IRC. The fight stops here.",
+ quitter->stats->name);
+ }
+ quitter->stats->battle = NULL;
+ quitter->stats->fight = NULL;
+ quitter->stats->master = NULL;
+
quitter->setNick("!NULL!");
+ #ifdef P10
+ quitter->setRealNick("!NULL!");
+ #endif
quitter->stats->user = NULL; // Unidentify them
}