mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-18 08:02:51 +01:00
Revert "ServiceBot: fall back to a space in 'help' when stripped text is empty"
This reverts commit 7a3c8ab637
.
This commit is contained in:
parent
556b388a4e
commit
9e7d0a50ca
2
utils.py
2
utils.py
@ -317,7 +317,7 @@ class ServiceBot():
|
|||||||
else:
|
else:
|
||||||
for line in lines:
|
for line in lines:
|
||||||
# Otherwise, just output the rest of the docstring to IRC.
|
# Otherwise, just output the rest of the docstring to IRC.
|
||||||
_reply(line.strip() or ' ')
|
_reply(line.strip())
|
||||||
else:
|
else:
|
||||||
_reply("Error: Command %r doesn't offer any help." % command)
|
_reply("Error: Command %r doesn't offer any help." % command)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user