summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/contacts.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-12-11 22:04:37 +0100
committerRobert Pösel <robyer@seznam.cz>2016-12-11 22:05:31 +0100
commit686c461a0f810bb035bd27b26ba165b17c56d02c (patch)
tree8665f9c50e49452f1d5e0e662dcea7961690a349 /protocols/FacebookRM/src/contacts.cpp
parent459a25ab00ba1a75cc8fd41656e98f95c1a45e9d (diff)
Facebook: Fix IntelliSense error
Diffstat (limited to 'protocols/FacebookRM/src/contacts.cpp')
-rw-r--r--protocols/FacebookRM/src/contacts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/contacts.cpp b/protocols/FacebookRM/src/contacts.cpp
index f0b8852938..ca6f1c430c 100644
--- a/protocols/FacebookRM/src/contacts.cpp
+++ b/protocols/FacebookRM/src/contacts.cpp
@@ -51,7 +51,7 @@ void FacebookProto::SaveName(MCONTACT hContact, const facebook_user *fbu)
// Save nick
std::string nick = fbu->real_name;
- if (!getBool(FACEBOOK_KEY_NAME_AS_NICK, 1) && !fbu->nick.empty())
+ if (!getBool(FACEBOOK_KEY_NAME_AS_NICK, DEFAULT_NAME_AS_NICK) && !fbu->nick.empty())
nick = fbu->nick;
updateStringUtf(this, hContact, FACEBOOK_KEY_NICK, nick);