It doesn't fix it, but it's cleaner.

This commit is contained in:
Jeremy Fincher 2004-02-03 07:12:19 +00:00
parent 717ee92e41
commit fe71094ad8

View File

@ -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')