aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/chat.php5
-rw-r--r--mod/chatsvc.php2
2 files changed, 6 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;
}
diff --git a/mod/chatsvc.php b/mod/chatsvc.php
index b8d2a9f69..23b95cd1c 100644
--- a/mod/chatsvc.php
+++ b/mod/chatsvc.php
@@ -4,6 +4,8 @@ require_once('include/security.php');
function chatsvc_init(&$a) {
+//logger('chatsvc');
+
$ret = array('success' => false);
$a->data['chat']['room_id'] = intval($_REQUEST['room_id']);