diff --git a/modules/protocol/unrealircd.cpp b/modules/protocol/unrealircd.cpp index eca2e54df..7e0f3122d 100644 --- a/modules/protocol/unrealircd.cpp +++ b/modules/protocol/unrealircd.cpp @@ -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);