diff options
Diffstat (limited to 'plugins/Variables/src/contact.cpp')
-rw-r--r-- | plugins/Variables/src/contact.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/src/contact.cpp b/plugins/Variables/src/contact.cpp index e4b681c1dd..7ab46f484e 100644 --- a/plugins/Variables/src/contact.cpp +++ b/plugins/Variables/src/contact.cpp @@ -310,7 +310,7 @@ MCONTACT getContactFromString(const TCHAR *tszContact, DWORD dwFlags, int nMatch return (MCONTACT)arResults[rand() % arResults.getCount()];
// cache the found result
- if (count == 1) {
+ if (count == 0) {
mir_cslock lck(csContactCache);
CONTACTCE *cce = new CONTACTCE();
|