From 4c34e3d4c47be7c44f8369b301629dbc3a964c6a Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 5 Mar 2012 03:28:14 +0200 Subject: typo fix --- stopspam.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stopspam.cpp') 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); } } -- cgit v1.2.3