BAN_VOTE
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7308 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -201,7 +201,7 @@ struct banaction : playeraction
|
||||
void perform()
|
||||
{
|
||||
int i = findcnbyaddress(&address);
|
||||
if(i >= 0) addban(clients[i], DISC_MBAN);
|
||||
if(i >= 0) addban(clients[i], DISC_MBAN, BAN_VOTE);
|
||||
}
|
||||
virtual bool isvalid() { return wasvalid || playeraction::isvalid(); }
|
||||
banaction(int cn, char *reason) : playeraction(cn)
|
||||
|
||||
Reference in New Issue
Block a user