bugfix: don't allow query for debug
This commit is contained in:
parent
a49ca0491d
commit
97368e8ba5
|
@ -99,6 +99,7 @@ def sub_report_seen(connection, event, nick, userhost, replypath, what, admin_un
|
|||
whats = what.split(' ')
|
||||
if whats[0] == 'seen' and len(whats) >= 2:
|
||||
query = whats[1]
|
||||
if query != 'debug':
|
||||
try:
|
||||
seendata = config.get('seen', query).split('|:|')
|
||||
converted = datetime.strptime(seendata[1], "%Y-%m-%dT%H:%M:%S.%f").replace(tzinfo=tzutc())
|
||||
|
|
Loading…
Reference in New Issue