mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +01:00
Check for the unknown author and special case accordingly
This commit is contained in:
parent
5e5e2f3336
commit
48c472d493
@ -147,6 +147,7 @@ class Plugin(callbacks.Plugin):
|
|||||||
hasAuthor = False
|
hasAuthor = False
|
||||||
hasContribs = False
|
hasContribs = False
|
||||||
if getattr(module, '__author__', None):
|
if getattr(module, '__author__', None):
|
||||||
|
if module.__author__ != supybot.authors.unknown:
|
||||||
author = 'was written by %s' % \
|
author = 'was written by %s' % \
|
||||||
utils.web.mungeEmail(str(module.__author__))
|
utils.web.mungeEmail(str(module.__author__))
|
||||||
hasAuthor = True
|
hasAuthor = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user