Skip to content

Commit b905c14

Browse files
stonedDiscordstoned
andauthored
put the uncensored text in the mod log (#425)
Co-authored-by: stoned <stoned@derpymail.org>
1 parent db76b98 commit b905c14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/packet/packet_ms.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ AOPacket *PacketMS::validateIcPacket(AOClient &client) const
176176
return l_invalid;
177177
}
178178

179+
client.m_last_message = l_incoming_msg;
180+
179181
if (!ConfigManager::filterList().isEmpty()) {
180182
foreach (const QString &regex, ConfigManager::filterList()) {
181183
QRegularExpression re(regex, QRegularExpression::CaseInsensitiveOption);
@@ -208,7 +210,6 @@ AOPacket *PacketMS::validateIcPacket(AOClient &client) const
208210
l_incoming_msg = l_disemvoweled_message;
209211
}
210212

211-
client.m_last_message = l_incoming_msg;
212213
l_args.append(l_incoming_msg);
213214

214215
// side

0 commit comments

Comments
 (0)