urlencode

This commit is contained in:
Kyep
2020-09-15 15:44:46 -07:00
parent 147a39c061
commit bef1b0b3bc
+1 -1
View File
@@ -223,7 +223,7 @@ 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")
if(copytext(prtext, 1, 23) == "Pull+Request+merged+by") // its urlencoded
GLOB.pending_server_update = TRUE
for(var/client/C in GLOB.clients)
to_chat(C, "<span class='announce'>PR: [prtext]</span>")