Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Adding aliases broken in 3.27?

Adding aliases broken in 3.27?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Linda   Sweden  (164 posts)  Bio
Date Mon 21 Oct 2002 07:10 PM (UTC)
Message
After upgrading to 3.27, I am finding it impossible to add new aliases. I get told 'This alias is already in the list of aliases.'

This happens in all worlds.
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #1 on Mon 21 Oct 2002 11:00 PM (UTC)
Message
Confirmed! Same problem here.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Mon 21 Oct 2002 11:58 PM (UTC)

Amended on Tue 22 Oct 2002 03:39 AM (UTC) by Nick Gammon

Message
For a moment there I couldn't reproduce that one, but in fact it is because of the "improvements" to aliases, where you can now have multiple aliases which differ only by case.

Unfortunately the test for aliases which are marked "ignore case" is backwards, so you can only add duplicate aliases if you check "ignore case".

I will fix that shortly, meanwhile as a work-around do not check "ignore case".

You might wonder how such a confusion is possible, but in C libraries there are some inconsistencies.

eg.


strcmp (a, b) returns 0 if the string "a" is equal to the string "b"


However


strstr (a, b) returns 0 if string "b" is not contained in string "a"

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


14,101 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.