We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a77eb29 commit 985b257Copy full SHA for 985b257
src/packet/packet_zz.cpp
@@ -47,7 +47,7 @@ void PacketZZ::handlePacket(AreaData *area, AOClient &client) const
47
}
48
emit client.logModcall((client.character() + " " + client.characterName()), client.m_ipid, client.name(), client.getServer()->getAreaById(client.areaId())->name());
49
50
- if (ConfigManager::discordModcallWebhookEnabled()) {
+ if (ConfigManager::discordModcallWebhookEnabled() && client.m_service_registry->exists(DiscordHook::SERVICE_ID)) {
51
QString l_name = client.name();
52
if (client.name().isEmpty())
53
l_name = client.character();
0 commit comments