bugfix damit die namen auch schon im irc angezeigt werden

main
hecht 13 years ago
parent 801350e63c
commit 307b85fbdd

@ -1,10 +1,10 @@
<?php <?php
if($user_ida['nickname'] != NULL) { if($user_ida['nickname'] != NULL) {
echo '<iframe src="http://webchat.quakenet.org/?nick='.$user_ida['nickname'].'&channels=animegame&uio=d4" width="647" height="600"></iframe>'; echo '<iframe src="http://webchat.quakenet.org/?nick='.preg_replace('#\s#', '_', $user_ida['nickname']).'&channels=animegame&uio=d4" width="647" height="600"></iframe>';
} else { } else {
echo '<iframe src="http://webchat.quakenet.org/?nick=anon_....&channels=animegame&uio=d4" width="647" height="600"></iframe>'; echo '<iframe src="http://webchat.quakenet.org/?nick=anon_....&channels=animegame&uio=d4" width="647" height="600"></iframe>';
} }
?> ?>

Loading…
Cancel
Save