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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user