|
@@ -39,7 +39,6 @@ if (false && empty($IRCKey)) {
|
39
|
39
|
<?
|
40
|
40
|
} else {
|
41
|
41
|
$nick = $LoggedUser['Username'];
|
42
|
|
- $nick = preg_replace('/[^a-zA-Z0-9\[\]\\`\^\{\}\|_]/', '', $nick);
|
43
|
42
|
if (strlen($nick) == 0) {
|
44
|
43
|
$nick = SITE_NAME.'Guest????';
|
45
|
44
|
} else {
|
|
@@ -56,7 +55,7 @@ if (false && empty($IRCKey)) {
|
56
|
55
|
<div style="padding: 0px 10px 10px 20px;">
|
57
|
56
|
<p>If you have an IRC client, refer to <a href="wiki.php?action=article&name=IRC">this wiki article</a> for information on how to connect.</p>
|
58
|
57
|
</div>
|
59
|
|
- <iframe src="<?echo 'https://chat.'.SITE_DOMAIN?>" width="100%" height="600" style="border:0;">
|
|
58
|
+ <iframe src="<?echo 'https://chat.'.SITE_DOMAIN.'?nick='.$nick?>" width="100%" height="600" style="border:0;">
|
60
|
59
|
</iframe>
|
61
|
60
|
</div>
|
62
|
61
|
</div>
|