From 114f8791e2dfc070229874c1377bd0077e7cc2a1 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Thu, 18 Jan 2007 19:50:05 +0000 Subject: [PATCH] aggiunta la sostituzione nel nome degli spazi con _ --- web/brisk.phh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.17.1