X-Base Bugtracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
000772xShunterPlug-in: Ban systempublic2011-12-25 04:012012-07-21 18:05
ReporterxOR 
Assigned Towenski 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Versionv0.1 
Target Versionv0.2Fixed in Versionv0.2 
Summary000772: Bans can be added multiple times
DescriptionIt shouldn't be possible to add duplicate bans of the same type (e.g. address ban, name ban...).
Instead the plug-in should inform the player that his entry already exists and show it.
Steps To Reproduce[03:53:50] ¦xOR¦ 0ban 123.123.123.123
[03:53:51] <OTTD-0> OK, banning 123.123.123.123.
[03:53:51] <OTTD-0> Admin xOR (Account 'YorVeX') has banned player 123.123.123.123 for the reason: No Reason given.
[03:53:53] ¦xOR¦ 0ban 123.123.123.123
[03:53:54] <OTTD-0> OK, banning 123.123.123.123.
[03:53:54] <OTTD-0> Admin xOR (Account 'YorVeX') has banned player 123.123.123.123 for the reason: No Reason given.
[03:54:08] ¦xOR¦ 0banlist 123.123.123.123

[03:54:09] <OTTD-0> 000029 123.123.123.123 ADDRESS_BAN xOR/YorVeX No Reason given.
[03:54:09] <OTTD-0> 000030 123.123.123.123 ADDRESS_BAN xOR/YorVeX No Reason given.
Additional InformationExample how it should look:

¦xOR¦ 0ban 123.123.123.123
<OTTD-0> OK, banning 123.123.123.123.
<OTTD-0> Admin xOR (Account 'YorVeX') has banned player 123.123.123.123 for the reason: No Reason given.
¦xOR¦ 0ban 123.123.123.123
<OTTD-0> Sorry, this ban is already on the list:
<OTTD-0> 000029 123.123.123.123 ADDRESS_BAN xOR/YorVeX No Reason given.
TagsNo tags attached.
SVN revision
Attached Files

- Relationships
related to 000882assignedwenski Prevent duplicate bans 

-  Notes
There are no notes attached to this issue.


Copyright © 2000 - 2011 MantisBT Group
Time: 0.0797 seconds.
memory usage: 7,511 KB
Powered by Mantis Bugtracker