From 0c5829ff0eb34ed6871345571a3655eff44196fa Mon Sep 17 00:00:00 2001 From: John Reese Date: Thu, 13 Jan 2011 21:59:44 -0500 Subject: [PATCH] Don't override default option values with empty strings --- notifo.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/notifo.cpp b/notifo.cpp index 1098e56..a01bbf9 100644 --- a/notifo.cpp +++ b/notifo.cpp @@ -193,7 +193,11 @@ class CNotifoMod : public CModule { 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();