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