summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-10-28 17:34:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-10-28 17:34:49 +0000
commit162c8ddd463f17d84b7224219119f8acef6ce23d (patch)
tree0cbb4b0396b5fb92ad8e627069aa2c54161844fa /protocols/JabberG/src/jabber_proto.cpp
parent5f5b12be632bffdd96181c0b3280b79227ed04f0 (diff)
fix for db_unset() calls over resident variables
git-svn-id: http://svn.miranda-ng.org/main/trunk@15637 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rw-r--r--protocols/JabberG/src/jabber_proto.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index bf467a484b..b9d3223dda 100644
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -136,6 +136,9 @@ CJabberProto::CJabberProto(const char *aProtoName, const TCHAR *aUserName) :
m_pepServices.insert(new CPepMood(this));
m_pepServices.insert(new CPepActivity(this));
+ db_set_resident(m_szModuleName, DBSETTING_XSTATUSID);
+ db_set_resident(m_szModuleName, DBSETTING_XSTATUSNAME);
+ db_set_resident(m_szModuleName, DBSETTING_XSTATUSMSG);
db_set_resident(m_szModuleName, DBSETTING_DISPLAY_UID);
db_set_resident(m_szModuleName, "SubscriptionText");
db_set_resident(m_szModuleName, "Subscription");