drfreeze123 / amxx-plugin-galileo

Automatically exported from code.google.com/p/amxx-plugin-galileo
0 stars 0 forks source link

cvar string of "" (empty) is being stored as "0" #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. in galileo.cfg, set gal_vote_weightflags to ""
2. restart map and check value of gal_vote_weightflags

What is the expected output? What do you see instead?
Expected to see nothing for the value. Instead, the value is set to "0".

Please use labels and text to provide additional information.
Setting gal_vote_weightflags to nothing, not even empty quotation marks, works 
as expected.

ex:
gal_vote_weightflags ""
- problem

gal_vote_weightflags 
- no problem

Original issue reported on code.google.com by jones.p....@gmail.com on 23 Dec 2010 at 9:14

GoogleCodeExporter commented 9 years ago
How is this a problem? If it's set to "0" (string), none of the admin flags 
will match and the plugin should function as expected.

Original comment by jones.p....@gmail.com on 19 Feb 2015 at 3:24

GoogleCodeExporter commented 9 years ago
Issue 44 has been merged into this issue.

Original comment by jones.p....@gmail.com on 21 Feb 2015 at 2:55

GoogleCodeExporter commented 9 years ago
This was a problem that was introduced early into the development post 1.1.290.

The code that read in galileo.cfg was not storing strings correctly if the 
string didn't contain Az-Zz.

Original comment by jones.p....@gmail.com on 21 Feb 2015 at 3:06

GoogleCodeExporter commented 9 years ago
This was resolved by revision #112.

Original comment by jones.p....@gmail.com on 21 Feb 2015 at 3:08

GoogleCodeExporter commented 9 years ago

Original comment by jones.p....@gmail.com on 21 Feb 2015 at 3:08