From: Matteo Nastasi (mop) Date: Thu, 18 Jan 2007 19:50:05 +0000 (+0000) Subject: aggiunta la sostituzione nel nome degli spazi con _ X-Git-Tag: 3.0.0~358 X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=114f8791e2dfc070229874c1377bd0077e7cc2a1;p=brisk.git aggiunta la sostituzione nel nome degli spazi con _ --- diff --git a/web/brisk.phh b/web/brisk.phh index 899bc89..b4b7c2a 100644 --- a/web/brisk.phh +++ b/web/brisk.phh @@ -516,7 +516,7 @@ class brisco { if (strncmp($user_mesg, "/nick ", 6) == 0) { log_main($user->sess, "chatt_send BEGIN"); - $name_new = substr(trim(substr($user_mesg, 6)),0,12); + $name_new = str_replace(' ', '_', substr(trim(substr($user_mesg, 6)),0,12)); $user_mesg = "COMMAND ".$user_mesg; // Search dup name // change