Check for Bad Names

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Re: Check for Bad Names

Postby Leodagan » Mon Jan 06, 2014 2:19 pm

Well I was thinking "Badnames" should be an exact match, and "PartialNames" should be a partial match, thus first one should test equality of strings, and second one should check "Contains" as it actually does...
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: Check for Bad Names

Postby Hiatus » Mon Jan 06, 2014 2:25 pm

Well I was thinking "Badnames" should be an exact match, and "PartialNames" should be a partial match, thus first one should test equality of strings, and second one should check "Contains" as it actually does...

Oh shoot, you're right. I forgot to remove the Contains on the first part. When I originally wrote the code I never had the PartialNames feature in. :mrgreen: Thanks. Reuploaded.

I will commit it after the DOL + Eden merge is 100% completed.
Graveen wrote:If you can't see the problem, then this is the problem :mrgreen:
Hiatus
Support Team
 
Posts: 263
Joined: Sat Apr 30, 2011 3:54 pm


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest