Updated the global.cpp listener

This commit is contained in:
Mathias Wagner 2023-11-04 14:09:15 +01:00
parent 9ece450d5d
commit 770c0a6d21
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -42,4 +42,7 @@ void global::execute(sql::Connection &con, dpp::cluster &bot, const dpp::message
if (res2->getString("channelId") == res->getString("channelId")) continue;
send(res2->getString("webhookToken").c_str(), bot, event);
}
delete res;
delete res2;
}