Ticket #202 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Staffbot problem

Reported by: Maverick Owned by: Maverick
Priority: normal Component: Bots - Other
Version: Latest version from repository Severity: minor
Keywords: Cc:

Description

[Jan 11 18:36] Left_Eye:
When checking Ma /erick's warnings, it only shows up on Ma/erick. Misses the .

   MMaverick> !warnings Ma/erick
(StaffBot)>No warnings found for Ma/erick.
(StaffBot)>PM '!fuzzyname Ma/erick' to check for similar names.
   MMaverick> !warnings Ma/erick
(StaffBot)>Warnings in database for Ma/erick:
[...]
(StaffBot)>Displayed 2 valid warnings (suppressed 6 expired). PM !allwarnings to display all.
   MMaverick> !warnings Ma\/erick
(StaffBot)>No warnings found for Ma\/erick.
(StaffBot)>PM '!fuzzyname Ma\/erick' to check for similar names.

Database contents:

namewarningtimeofwarningstaffmember
ma/erickWed May 24 04:03:40: Ext: Mootland Farmer (Public 2) to Ma/ericK: *warn Racism is not tolerated in Trench Wars. Continue and you will be banned2006-05-24mootland farmer

As you can see there are a few problems;

  1. the query that inserts the *warn into the database
  2. the name specified at the !warnings command (probably related to the first problem)

Attachments

Change History

Changed 3 years ago by Maverick

  • owner set to Maverick
  • status changed from new to assigned

I added Tools.addSlashes() to the names and *warning message that was being inserted into the database, this should solve this problem.

Will be committed to source repository soon.

Changed 3 years ago by Maverick

  • status changed from assigned to closed
  • resolution set to fixed

Comitted in changeset:2142

Add/Change #202 (Staffbot problem)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.