From e6028ac7f0fe012488c627f94cfd59dcc631e6f8 Mon Sep 17 00:00:00 2001 From: Rafael Barreto Date: Sun, 6 Jun 2010 20:49:42 +0000 Subject: [PATCH] reverting kick/ban vote permissions to 1.0.4, but letting the weak ones only for admin by default git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5153 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- docs/commandline.html | 2 +- source/src/serveractions.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/commandline.html b/docs/commandline.html index 2494c845..61ecd272 100644 --- a/docs/commandline.html +++ b/docs/commandline.html @@ -559,7 +559,7 @@ For example: -PbmA enables ban & mastermode to be voted by normal players but only admins can change autoteam. The '-P' parameter can be used several times on the commandline. For example, '-Pb -Pm -PA' is equivalent to '-PbmA'. - The default settings are: "fKBMasRCDEW". + The default settings are: "fkBMasRCDEw". diff --git a/source/src/serveractions.h b/source/src/serveractions.h index 4343c2d6..879e4246 100644 --- a/source/src/serveractions.h +++ b/source/src/serveractions.h @@ -186,7 +186,7 @@ struct kickaction : playeraction kickaction(int cn, char *reason) : playeraction(cn) { wasvalid = false; - role = roleconf('K'); + role = roleconf('k'); if(isvalid() && strlen(reason) > 3) { wasvalid = true;