summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/contact.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-04-08 16:33:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-04-08 16:33:41 +0000
commit05636e0ffc35b0f1b6c9337573914ce246afa775 (patch)
tree9eb207a492a1d8a05a3df23e5dbc1fa7b928fe24 /plugins/Variables/src/contact.cpp
parent7f9ac17cace4b3e3746b7a853c18577bcc90daaf (diff)
code clesning
git-svn-id: http://svn.miranda-ng.org/main/trunk@16615 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/contact.cpp')
-rw-r--r--plugins/Variables/src/contact.cpp2
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();