mirror of https://github.com/SeanOMik/znc-push.git
Don't override default option values with empty strings
This commit is contained in:
parent
42dc9a34e0
commit
0c5829ff0e
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue