From 132f0aa5741fd4a1cf0016bf859d685d75bd249b Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Wed, 3 Dec 2008 23:00:55 +0000 Subject: [PATCH] rendering for auth names --- web/index_wr.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.17.1