Various Fixes.
generified the Worldboss module; removed the spammy-section as of currently, will be readded at a later stage.
This commit is contained in:
@@ -147,7 +147,7 @@ class TowerHotController(BaseModule):
|
||||
params.append(min_ql)
|
||||
params.append(max_ql)
|
||||
if faction:
|
||||
where += " AND c.faction LIKE "
|
||||
where += " AND c.faction LIKE ?"
|
||||
params.append("%" + faction.capitalize() + "%")
|
||||
data = self.db.query("SELECT a.*, f.short_name, c.org_name, b.min_ql, b.max_ql, "
|
||||
"(CASE WHEN (a.close_time-?) < 0 THEN a.close_time-? +86400 ELSE a.close_time-? END) "
|
||||
|
||||
Reference in New Issue
Block a user