mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Forgot to guard morehelp command against None __doc__s.
This commit is contained in:
parent
c413261a3b
commit
94e25c6c17
@ -117,7 +117,7 @@ class MiscCommands(callbacks.Privmsg):
|
||||
cb = irc.findCallback(command)
|
||||
if cb:
|
||||
method = getattr(cb, command)
|
||||
if hasattr(method, '__doc__'):
|
||||
if hasattr(method, '__doc__') and method.__doc__ is not None:
|
||||
doclines = method.__doc__.splitlines()
|
||||
simplehelp = doclines.pop(0)
|
||||
if doclines:
|
||||
|
Loading…
Reference in New Issue
Block a user