FlexHub Forum

FlexHub General => Report a bug => Topic started by: Hamachi on April 24, 2012, 20:02:08

Title: small bug in reg msg
Post by: Hamachi on April 24, 2012, 20:02:08
I have set this:
!set reg_msg
   Nickname:   %[user_name]
   Password:   %[password]
   Profile:      %[user_profile]
   Hubname:   %[hub]
   Hubaddress:   adcs://%[address]

But it remove the space, so get this:
Nickname:   %[user_name]
   Password:   %[password]
   Profile:      %[user_profile]
   Hubname:   %[hub]
   Hubaddress:   adcs://%[address]
Title: Re: small bug in reg msg
Post by: LadyStardust on April 24, 2012, 20:19:14
You can set up your own message by  !set reg_msg <text>  :)
But thanks for reporting, as default it should be all nice and smooth  ;D
Title: Re: small bug in reg msg
Post by: Hamachi on April 24, 2012, 20:39:48
the problem is i have change it but the space is remove, like default...
Title: Re: small bug in reg msg
Post by: FlipFlopâ„¢ on April 24, 2012, 20:56:03
The problem is that the !set command skips any extra spaces given after the setting name.
To work around it you could add a dot or a non-breaking space on the location of the *:

!set reg_msg *
   Nickname:   %[user_name]
   Password:   %[password]
   Profile:      %[user_profile]
   Hubname:   %[hub]
   Hubaddress:   adcs://%[address]

Alternatively, you can use a tab in front of the lines instead of spaces.