diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-03-05 03:28:14 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-03-05 03:28:14 +0200 |
commit | 4c34e3d4c47be7c44f8369b301629dbc3a964c6a (patch) | |
tree | a4256b190ba2c77fa374bc714439335393e16d2d | |
parent | 804d94ea46fb34a7e0ad6823382985be5a0048ce (diff) |
typo fix
-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); } } |