mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
We need to str() module.__author__ before munging the email address.
This commit is contained in:
parent
a8190dc5da
commit
e69f086b51
@ -395,7 +395,7 @@ class Misc(callbacks.Privmsg):
|
|||||||
return
|
return
|
||||||
module = sys.modules[cb.__class__.__module__]
|
module = sys.modules[cb.__class__.__module__]
|
||||||
if hasattr(module, '__author__') and module.__author__:
|
if hasattr(module, '__author__') and module.__author__:
|
||||||
irc.reply(utils.mungeEmailForWeb(module.__author__))
|
irc.reply(utils.mungeEmailForWeb(str(module.__author__)))
|
||||||
else:
|
else:
|
||||||
irc.reply('That plugin doesn\'t have an author that claims it.')
|
irc.reply('That plugin doesn\'t have an author that claims it.')
|
||||||
author = wrap(author, [('plugin', False)])
|
author = wrap(author, [('plugin', False)])
|
||||||
|
Loading…
Reference in New Issue
Block a user