mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-19 23:20:57 +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.args[self.counter] = s
|
||||||
self.evalArgs()
|
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):
|
def error(self, s='', Raise=False, **kwargs):
|
||||||
self.repliedTo = True
|
self.repliedTo = True
|
||||||
if Raise:
|
if Raise:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user