From 2022839a968e79a3bac9ca3b8f0aced17d0eede5 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 7 Feb 2004 12:38:31 +0000 Subject: [PATCH] Gave replies the **kwargs. --- src/callbacks.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/callbacks.py b/src/callbacks.py index 5e6d8293a..a07cd09ff 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -331,7 +331,7 @@ class RichReplyMethods(object): self.reply(s, **kwargs) def replies(self, L, prefixer=''.join, - joiner=utils.commaAndify, onlyPrefixFirst=False): + joiner=utils.commaAndify, onlyPrefixFirst=False, **kwargs): if prefixer is None: prefixer = '' if joiner is None: @@ -341,18 +341,18 @@ class RichReplyMethods(object): if isinstance(joiner, basestring): joiner = joiner.join if conf.supybot.reply.oneToOne(): - self.reply(prefixer(joiner(L))) + self.reply(prefixer(joiner(L)), **kwargs) else: first = True for s in L: if onlyPrefixFirst: if first: - self.reply(prefixer(s)) + self.reply(prefixer(s), **kwargs) first = False else: - self.reply(s) + self.reply(s, **kwargs) else: - self.reply(prefixer(s)) + self.reply(prefixer(s), **kwargs) def errorNoCapability(self, capability, s='', **kwargs): if isinstance(capability, basestring): # checkCommandCapability!