From eae30d09ec0dcec0ead633ea6780240f1b8e3774 Mon Sep 17 00:00:00 2001 From: CHOMPStation2StaffMirrorBot <94713762+CHOMPStation2StaffMirrorBot@users.noreply.github.com> Date: Sat, 17 Jan 2026 17:04:20 -0700 Subject: [PATCH] [MIRROR] fix links in motd (#12270) Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> --- code/controllers/configuration/configuration.dm | 1 + config/example/motd.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/controllers/configuration/configuration.dm b/code/controllers/configuration/configuration.dm index 116dbd811a..81f6063c7b 100644 --- a/code/controllers/configuration/configuration.dm +++ b/code/controllers/configuration/configuration.dm @@ -326,6 +326,7 @@ DelayedMessageAdmins("MOTD file [motd_file] didn't exist") motd = motd_contents.Join("\n") + motd = GLOB.is_valid_url.Replace(motd, span_linkify("$1")) var/tm_info = GLOB.revdata.GetTestMergeInfo() if(motd || tm_info) diff --git a/config/example/motd.txt b/config/example/motd.txt index 622fdafcbe..76972e4f2e 100644 --- a/config/example/motd.txt +++ b/config/example/motd.txt @@ -1,5 +1,5 @@