mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 14:10:41 +01:00
Fix a new bug where a person not having a 'seen' status wasn't properly
trapped
This commit is contained in:
parent
ed44f00c6f
commit
d370c485f6
@ -111,7 +111,9 @@ class Gameknot(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
d = d
|
d = d
|
||||||
dp = 0.
|
dp = 0.
|
||||||
seen = self._gkseen.search(utils.htmlToText(profile))
|
seen = self._gkseen.search(utils.htmlToText(profile))
|
||||||
if 'is hiding' in seen.group(0):
|
if seen is None:
|
||||||
|
seen = ''
|
||||||
|
elif 'is hiding' in seen.group(0):
|
||||||
seen = '%s is hiding his/her online status.' % name
|
seen = '%s is hiding his/her online status.' % name
|
||||||
elif seen.group(2).startswith('0'):
|
elif seen.group(2).startswith('0'):
|
||||||
seen = '%s is on gameknot right now.' % name
|
seen = '%s is on gameknot right now.' % name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user