BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.3 support => Topic started by: Temar on July 14, 2007, 11:28:06 pm

Title: SVN Bugs
Post by: Temar on July 14, 2007, 11:28:06 pm
Bug 1
Bio.php
Line 209
Code: [Select]
return "##hightlight##QL " . $ql . "##end## " . $this -> bot -> make_item($lowid, $highid, $ql, $type) . " " . $purpose;
you spelt highlight wrong

Bug 2
User.php
Line 243
Code: [Select]
if (preg_match("/^[a-z0-9]+$/i", $name))

well I'm not sure exactly but isn't this suppose to be like this
(taken from older version)
Code: [Select]
if (empty($name))
Title: Re: SVN Bugs
Post by: Temar on July 14, 2007, 11:34:35 pm
oh yer for bug 2
Quote
[Leet] Chris05: !member del Chris05
[Leet] Leetboss2: You have to give a character to be deleted.
Title: Re: SVN Bugs
Post by: Khalem on July 15, 2007, 12:12:26 am
Fixed.

The change from empty() to preg_match was done for security reasons, however the match was reversed.
Exchanged it for ctype_alnum which does the same essentially.
Title: Re: SVN Bugs
Post by: Temar on July 15, 2007, 02:24:29 am
i think this is another but
Quote
[Leet] Chris05: !member del Muleleet
[Leet] Leetboss2: Muleleet has been removed from member list.
[Leet] Chris05: !member del Muleleet
[Leet] Leetboss2: Muleleet has been removed from member list.
far as i know it does remove but should it be saying somit like is not a member on 2nd 1?
Title: Re: SVN Bugs
Post by: Khalem on July 15, 2007, 04:14:11 am
Fixed.

Was not checking if the user level was 0.
SimplePortal 2.3.7 © 2008-2024, SimplePortal