diff options
author | George Hazan <george.hazan@gmail.com> | 2025-03-05 13:22:25 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-03-05 13:22:25 +0300 |
commit | da8a81fd7b46bdeb7d58bb4f6803f397fcef66e4 (patch) | |
tree | 95e8aaccf2bf3d9319c88fa889cea093ad2a98da /protocols/Discord/src/dispatch.cpp | |
parent | c82a4024259c15206548cdad4c96768ea033d425 (diff) |
SESSION_INFO::pStatuses: old & obsolete linked list died
Diffstat (limited to 'protocols/Discord/src/dispatch.cpp')
-rw-r--r-- | protocols/Discord/src/dispatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp index 564e58f623..243ff79fe5 100644 --- a/protocols/Discord/src/dispatch.cpp +++ b/protocols/Discord/src/dispatch.cpp @@ -440,7 +440,7 @@ void CDiscordProto::OnCommandRoleDeleted(const JSONNode &pRoot) SESSION_INFO *si = Chat_Find(it->wszUsername, m_szModuleName);
if (si != nullptr) {
- g_chatApi.TM_RemoveAll(&si->pStatuses);
+ si->arStatuses.destroy();
BuildStatusList(pGuild, si);
}
}
|