diff --git a/SEContestChatCommands.php b/SEContestChatCommands.php index 408b04e..b70bc11 100644 --- a/SEContestChatCommands.php +++ b/SEContestChatCommands.php @@ -31,8 +31,8 @@ $duration = 15; } - $name = str_replace("_", " ", trim($_GET["name"])); - $optionsRaw = preg_split('/ /', trim($_GET["options"])); + $name = str_replace("_", " ", trim(urldecode($_GET["name"]))); + $optionsRaw = preg_split('/ /', trim(urldecode($_GET["options"]))); $options = array(); foreach($optionsRaw as $key => $value) {