From fe71094ad89af23a7961553e54621376518feb6c Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 3 Feb 2004 07:12:19 +0000 Subject: [PATCH] It doesn't fix it, but it's cleaner. --- test/test_ChannelStats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_ChannelStats.py b/test/test_ChannelStats.py index cc6f13024..e41ef0e21 100644 --- a/test/test_ChannelStats.py +++ b/test/test_ChannelStats.py @@ -49,7 +49,8 @@ if sqlite is not None: 'register foo bar', prefix=self.prefix)) _ = self.irc.takeMsg() - ircdb.users.getUser(self.nick).addCapability(self.channel + '.op') + chanop = ircdb.makeChannelCapability(self.channel, 'op') + ircdb.users.getUser(self.nick).addCapability(chanop) def test(self): self.assertNotError('channelstats')