Updated the global.cpp listener
This commit is contained in:
parent
9ece450d5d
commit
770c0a6d21
@ -42,4 +42,7 @@ void global::execute(sql::Connection &con, dpp::cluster &bot, const dpp::message
|
|||||||
if (res2->getString("channelId") == res->getString("channelId")) continue;
|
if (res2->getString("channelId") == res->getString("channelId")) continue;
|
||||||
send(res2->getString("webhookToken").c_str(), bot, event);
|
send(res2->getString("webhookToken").c_str(), bot, event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete res;
|
||||||
|
delete res2;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user