diff --git a/chat.php b/chat.php index ddb5007..d673d5a 100644 --- a/chat.php +++ b/chat.php @@ -2289,7 +2289,7 @@ function print_chatters(){ $channellink="fetch(PDO::FETCH_NUM)){ - $link=$nicklink.htmlspecialchars($user[0]).'" target="post">'.style_this(htmlspecialchars($user[0]), $user[1]).''; + $link=$nicklink.urlencode($user[0]).'" target="post">'.style_this(htmlspecialchars($user[0]), $user[1]).''; if($user[2]<3){ // guest or superguest $G[]=$link; } elseif($user[2]>=7){ // admin or superadmin