diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-03 19:33:22 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-03 19:33:22 +0300 |
commit | 1ced735747fa3c0b4e46c94adcb354a0decff929 (patch) | |
tree | b471750fd8c9755f329b6712be05675b79e05173 /protocols/JabberG/src/jabber.cpp | |
parent | 5ce5965da1db4cfd5e39a89b0dd922e2fe6cf59e (diff) |
Jabber: code cleaning
Diffstat (limited to 'protocols/JabberG/src/jabber.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp index e6066538d6..6dae866193 100755 --- a/protocols/JabberG/src/jabber.cpp +++ b/protocols/JabberG/src/jabber.cpp @@ -178,9 +178,9 @@ int CMPlugin::Load() HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
JabberUserInfoInit();
- if (!db_get_b(0, "Compatibility", "JabberCaps", 0)) {
+ if (db_get_b(0, "Compatibility", "JabberCaps", 0) < 2) {
db_delete_module(0, "JabberCaps");
- db_set_b(0, "Compatibility", "JabberCaps", 1);
+ db_set_b(0, "Compatibility", "JabberCaps", 2);
}
g_clientCapsManager.Load();
|