mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Make irc.replies return all results in a single line by default (instead of following the conf), if used in a nested command. Closes GH-219.
This commit is contained in:
parent
38e7589ff3
commit
15e387ea46
@ -991,6 +991,14 @@ class NestedCommandsIrcProxy(ReplyIrcProxy):
|
||||
self.args[self.counter] = s
|
||||
self.evalArgs()
|
||||
|
||||
def replies(self, L, prefixer=None, joiner=None,
|
||||
onlyPrefixFirst=False, to=None,
|
||||
oneToOne=None, **kwargs):
|
||||
if not self.finalEvaled and oneToOne is None:
|
||||
oneToOne = True
|
||||
return super(NestedCommandsIrcProxy, self).replies(L,
|
||||
prefixer, joiner, onlyPrefixFirst, to, oneToOne, **kwargs)
|
||||
|
||||
def error(self, s='', Raise=False, **kwargs):
|
||||
self.repliedTo = True
|
||||
if Raise:
|
||||
|
Loading…
Reference in New Issue
Block a user