diff options
Diffstat (limited to 'stopspam.cpp')
-rwxr-xr-x | stopspam.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stopspam.cpp b/stopspam.cpp index f75c9da..0ecdd92 100755 --- a/stopspam.cpp +++ b/stopspam.cpp @@ -146,8 +146,8 @@ MIRANDA_HOOK_EVENT(ME_DB_EVENT_FILTER_ADD, w, l) if(boost::algorithm::all(message, boost::is_digit())) { int msg = _ttoi(message.c_str()); - int main_answer = DBGetContactSettingDword(hContact, pluginName, "MathAnswer", 0); - if(msg && main_answer) + int math_answer = DBGetContactSettingDword(hContact, pluginName, "MathAnswer", 0); + if(msg && math_answer) answered = (msg == math_answer); } } |