[Freeciv-Dev] (PR#11842) Do not allow observers to start new votes
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] (PR#11842) Do not allow observers to start new votes |
From: |
"Per I. Mathisen" <per@xxxxxxxxxxx> |
Date: |
Fri, 7 Jan 2005 11:24:07 -0800 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11842 >
See $subject.
- Per
Index: server/stdinhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/stdinhand.c,v
retrieving revision 1.354.2.21
diff -u -r1.354.2.21 stdinhand.c
--- server/stdinhand.c 5 Jan 2005 23:12:24 -0000 1.354.2.21
+++ server/stdinhand.c 7 Jan 2005 19:21:21 -0000
@@ -3315,6 +3315,7 @@
if (caller
&& caller->player
&& !check
+ && !caller->player->is_observer
&& caller->access_level == ALLOW_INFO
&& commands[cmd].level == ALLOW_CTRL) {
int idx = caller->player->player_no;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#11842) Do not allow observers to start new votes,
Per I. Mathisen <=
|
|