Makes the bot more lenient on case sensitivity due to inconsistencies in case between Windows and Unix.
Description
Description
Details
Details
- Auditors
elexis - Committed
scythetwirler Sep 27 2014, 3:06 AM - Parents
- rP15812: check ResourceGatherer interface before trying to gather, fixes #2801
- Branches
- Unknown
- Tags
Event Timeline
Comment Actions
This replaces wrong code with wrong code, since ilike interprets the underscore _ as a wildcard, thus breaking the rating service for some people, opening up for database attacks.
The database should store only lowercase playernames, so that players cannot modify the resource either, don't dont spam the database with many accounts if they join with an alternative XMPP client.
Comment Actions
Yes, that's still relevant. I just opened a PR with a fix for that: https://github.com/0ad/lobby-bots/pull/10