aboutsummaryrefslogtreecommitdiffstats
path: root/mod/chat.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/chat.php')
-rw-r--r--mod/chat.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/chat.php b/mod/chat.php
index 42a7808d9..b8af4c1a6 100644
--- a/mod/chat.php
+++ b/mod/chat.php
@@ -61,7 +61,10 @@ function chat_content(&$a) {
$x = chatroom_enter($observer,$room_id,'online',$_SERVER['REMOTE_ADDR']);
if(! $x)
return;
- $o = replace_macros(get_markup_template('chat.tpl'),array());
+ $o = replace_macros(get_markup_template('chat.tpl'),array(
+ '$room_id' => $room_id,
+ '$submit' => t('Submit')
+ ));
return $o;
}