mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Don't put a period at the end of the Misc.plugin output! It's useful to be
able to do "@list [plugin foo]"!
This commit is contained in:
parent
1cffed1854
commit
abd4eeddf0
@ -305,7 +305,7 @@ class Misc(callbacks.Privmsg):
|
|||||||
command = callbacks.canonicalName(privmsgs.getArgs(args))
|
command = callbacks.canonicalName(privmsgs.getArgs(args))
|
||||||
cbs = callbacks.findCallbackForCommand(irc, command)
|
cbs = callbacks.findCallbackForCommand(irc, command)
|
||||||
if cbs:
|
if cbs:
|
||||||
irc.reply(utils.commaAndify([cb.name() for cb in cbs]) + '.')
|
irc.reply(utils.commaAndify([cb.name() for cb in cbs]))
|
||||||
else:
|
else:
|
||||||
irc.error('There is no such command %s' % command)
|
irc.error('There is no such command %s' % command)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user