summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/tools.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-02-10 12:54:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-02-10 12:54:20 +0300
commitef0ba268b340eaf1217a96d763342c25668588b4 (patch)
tree17396375e213043c2ce1c59b50b7f30488dcb83d /protocols/IRCG/src/tools.cpp
parent33733576589076f080ddfa000b899843016a2597 (diff)
Protocols: preventing recursive contact deletion
Diffstat (limited to 'protocols/IRCG/src/tools.cpp')
-rw-r--r--protocols/IRCG/src/tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IRCG/src/tools.cpp b/protocols/IRCG/src/tools.cpp
index 56ecbf6ebf..164f955f0b 100644
--- a/protocols/IRCG/src/tools.cpp
+++ b/protocols/IRCG/src/tools.cpp
@@ -26,7 +26,7 @@ void CIrcProto::CheckUpdate()
if (getByte("Compatibility") < 1) {
for (auto &cc : AccContacts()) {
if (getByte(cc, "ChatRoom") == GCW_SERVER)
- db_delete_contact(cc);
+ db_delete_contact(cc, true);
else {
ptrA szNick(getUStringA(cc, "Nick"));
if (szNick)