]>
jfr.im git - irc/gameservirc.git/blob - gameserv/do_stats.cpp
11 nick
= strtok(NULL
, " ");
13 if (!(user
= find(u
)))
15 log("Fatal Error: %s not found in client list", u
);
18 else if (isIgnore(user
))
21 log("Ignoring %s.", user
->getNick());
27 if (!is_playing(user
))
29 notice(s_GameServ
, u
, "You're not playing, so you have no stats!");
34 if (!is_fighting(user
))
35 updateTS(user
->stats
);
36 showstats(u
, user
->stats
->getName().c_str());