From a02282c95709a8bd832e48c8736d24a27e8111ae Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 18 Sep 2003 10:25:47 +0000 Subject: [PATCH] Changed how logging through the debug module is handled. --- test/test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/test.py b/test/test.py index 2d7e42a61..87523166c 100755 --- a/test/test.py +++ b/test/test.py @@ -65,7 +65,7 @@ for filename in os.listdir(conf.logDir): import debug -debug.minimumDebugPriority = 'high' +debug.stderr = False import world import ircdb @@ -239,7 +239,8 @@ class ChannelPluginTestCase(PluginTestCase): if response is not None: args = list(response.args) # Strip off nick: at beginning of response. - if not ircmsgs.isAction(response): + if args[1].startswith(self.nick) or \ + args[1].startswith(ircutils.nickFromHostmask(self.prefix)): args[1] = args[1].split(None, 1)[1] return ircmsgs.privmsg(*args) else: