diff options
author | George Hazan <ghazan@miranda.im> | 2020-09-03 14:24:58 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-09-03 14:24:58 +0300 |
commit | 645eb73dfa7a9f8d6fb7698cfab0f2c7a51c0272 (patch) | |
tree | 3ae63b34e6876cb0d4efc08b7dc090aedb10411c /plugins/Variables/src/parse_miranda.cpp | |
parent | ea1d005b9d8da29f74d91d4b50da6c78682f45d1 (diff) |
fixes #2561 (contact() and ccount() functions do not work as intended (Variables plugin))
Diffstat (limited to 'plugins/Variables/src/parse_miranda.cpp')
-rw-r--r-- | plugins/Variables/src/parse_miranda.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index 660cac158d..b2687e5490 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -81,7 +81,7 @@ static wchar_t* parseContact(ARGUMENTSINFO *ai) int n = 0;
if (ai->argc == 4) {
- if (*ai->argv.w[3] != 'r') // random contact
+ if (*ai->argv.w[3] == 'r') // random contact
n = -1;
else
n = _wtoi(ai->argv.w[3]) - 1;
|