From 026ee204ef0b2df693c6b9c658b9742d1e900ef8 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 13 Jun 2012 12:40:59 +0200 Subject: [PATCH] get rid of gotomap/chmap aliasing; rather do that via config (cleaner) --- qcsrc/server/command/vote.qc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index c55eee9ac..aea89933a 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -476,15 +476,6 @@ float VoteCommand_checkinlist(string vote_command, string list) if(strstrofs(l, strcat(" ", vote_command, " "), 0) >= 0) return TRUE; - // if gotomap is allowed, chmap is too, and vice versa - if(vote_command == "gotomap") - if(strstrofs(l, " chmap ", 0) >= 0) - return TRUE; - - if(vote_command == "chmap") - if(strstrofs(l, " gotomap ", 0) >= 0) - return TRUE; - return FALSE; } -- 2.39.2