FlexHub Forum

small bug in reg msg

small bug in reg msg
« 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]

Offline LadyStardust

  • *****
  • 257
  • aka Puma
Re: small bug in reg msg
« Reply #1 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
Best regards,
LS

Re: small bug in reg msg
« Reply #2 on: April 24, 2012, 20:39:48 »
the problem is i have change it but the space is remove, like default...

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: small bug in reg msg
« Reply #3 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.
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.