X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=inline;f=web%2Findex_wr.php;h=1bcd462562b80efbf37bd8a324d210dfc724f6f7;hb=b2e4016ea5c50bf06160d8e57659838aeacc6fdc;hp=9fdb19cf0e314dfaa36a27214f6766869e34cd4d;hpb=208f1870984fa4e2fd47d0365c455ffd4e6aad64;p=brisk.git
diff --git a/web/index_wr.php b/web/index_wr.php
index 9fdb19c..1bcd462 100644
--- a/web/index_wr.php
+++ b/web/index_wr.php
@@ -206,13 +206,13 @@ else if ($user->stat == 'room') {
$dt = date("H:i ", $curtime);
if ($G_shutdown) {
- $user->comm[$user->step % COMM_N] .= sprintf('chatt_sub("%s","Il server sta per essere riavviato, non possono avere inizio nuove partite.");', $dt.NICKSERV);
+ $user->comm[$user->step % COMM_N] .= sprintf('chatt_sub("%s", [2, "%s"],"Il server sta per essere riavviato, non possono avere inizio nuove partite.");', $dt, NICKSERV);
}
else if ($table->auth_only && (($user->flags & USER_FLAG_AUTH) == 0)) {
- $user->comm[$user->step % COMM_N] .= sprintf('chatt_sub("%s","Il tavolo a cui volevi sederti richiede autentifica.");', $dt.NICKSERV);
+ $user->comm[$user->step % COMM_N] .= sprintf('chatt_sub("%s", [2, "%s"],"Il tavolo a cui volevi sederti richiede autentifica.");', $dt, NICKSERV);
}
else {
- $user->comm[$user->step % COMM_N] .= sprintf('chatt_sub("%s","Il tavolo si è appena liberato, ci si potrà sedere tra %d secondi.");', $dt.NICKSERV, $table->wakeup_time - $curtime);
+ $user->comm[$user->step % COMM_N] .= sprintf('chatt_sub("%s", [2, "%s"],"Il tavolo si è appena liberato, ci si potrà sedere tra %d secondi.");', $dt, NICKSERV, $table->wakeup_time - $curtime);
}
$user->step_inc();
Room::save_data($room);