Fixing bug #1936688, display (and logging) when player mode voting toggled was incorrect.

This commit is contained in:
hobnob13
2008-04-08 08:04:57 +00:00
parent 12e92ccab1
commit 78fe63628e
+2 -2
View File
@@ -565,8 +565,8 @@
config.allowvotemode = !config.allowvotemode
world << "<B>Player mode voting toggled to [config.allowvoterestart ? "On" : "Off"]</B>."
if(config.logadmin) world.log << "ADMIN: Mode voting toggled to [config.allowvoterestart ? "On" : "Off"] by [usr.key]."
world << "<B>Player mode voting toggled to [config.allowvotemode ? "On" : "Off"]</B>."
if(config.logadmin) world.log << "ADMIN: Mode voting toggled to [config.allowvotemode ? "On" : "Off"] by [usr.key]."
if(config.allowvotemode)
vote.nextvotetime = world.timeofday
update()