1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 14:23:11 +02:00

Fix extracting timestamps from UnrealIRCd MODE messages.

Oversight from commit 04e1a4f5c8.
This commit is contained in:
Sadie Powell
2024-04-04 19:46:51 +01:00
parent 5a54b37aeb
commit e0a6f7456b
+1 -1
View File
@@ -1159,7 +1159,7 @@ struct IRCDMessageMode final
if (IRCD->IsChannelValid(params[0]))
{
Channel *c = Channel::Find(params[0]);
auto ts = IRCD->ExtractTimestamp(params.back());
auto ts = server_source ? IRCD->ExtractTimestamp(params.back()) : 0;
if (c)
c->SetModesInternal(source, modes, ts);