From 2e9b2fe7e35bdb43363d503c3614d2d3bd5611e4 Mon Sep 17 00:00:00 2001 From: Kyep <16434066+Kyep@users.noreply.github.com> Date: Wed, 16 Sep 2020 18:47:38 +0000 Subject: [PATCH] taking AA's suggestion Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> --- code/game/world.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/world.dm b/code/game/world.dm index 8923b84a3f1..abec7a93fe0 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -223,7 +223,8 @@ GLOBAL_VAR_INIT(world_topic_spam_protect_time, world.timeofday) return "Bad Key" else var/prtext = input["announce"] - if(copytext(prtext, 1, 23) == "Pull+Request+merged+by") // its urlencoded + var/pr_substring = copytext(prtext, 1, 23) + if(pr_substring == "Pull Request merged by") GLOB.pending_server_update = TRUE for(var/client/C in GLOB.clients) to_chat(C, "PR: [prtext]")