X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbrisk.phh;h=b4b7c2a6de0643abea70d8c118bd555f4cb6774c;hb=114f8791e2dfc070229874c1377bd0077e7cc2a1;hp=899bc89822ca035769cbc5dd436b6e155fd2a7cc;hpb=5196a0be0d675ab6a03fa6a6c36aa8de01d67c48;p=brisk.git 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