Don't override default option values with empty strings

This commit is contained in:
John Reese 2011-01-13 21:59:44 -05:00
parent 42dc9a34e0
commit 0c5829ff0e
1 changed files with 5 additions and 1 deletions

View File

@ -193,7 +193,11 @@ class CNotifoMod : public CModule
{ {
for (MCString::iterator i = options.begin(); i != options.end(); i++) for (MCString::iterator i = options.begin(); i != options.end(); i++)
{ {
options[i->first] = GetNV(i->first); CString value = GetNV(i->first);
if (value != "")
{
options[i->first] = value;
}
} }
authencode(); authencode();