vote reason implemented for kick/ban

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5151 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-06-06 19:05:42 +00:00
parent c80341da66
commit f66f445506
6 changed files with 60 additions and 18 deletions
+9
View File
@@ -1025,6 +1025,15 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
itoa(a, getint(p));
v = newvotedisplayinfo(d, type, text, a);
break;
case SA_KICK:
case SA_BAN:
{
itoa(a, getint(p));
getstring(text, p);
filtertext(text, text);
v = newvotedisplayinfo(d, type, a, text);
break;
}
case SA_SERVERDESC:
getstring(text, p);
filtertext(text, text);