no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1335 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-10-02 20:44:15 +00:00
parent c8301223cd
commit d00e69b26b
5 changed files with 32 additions and 1 deletions
+9
View File
@@ -597,6 +597,15 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
voteresult(getint(p));
break;
case SV_WHOISINFO:
{
int cn = getint(p);
playerent *pl = cn == getclientnum() ? player1 : getclient(cn);
int ip = getint(p);
conoutf("WHOIS for client %d:\n\f5name\t%s\n\f5IP\t%d.%d.%d.%d", cn, pl ? colorname(pl) : "", ip&0xFF, ip<<8&0xFF, ip<<16&0xFF, ip<<24&0xFF);
break;
}
default:
neterr("type");
return;