mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
It doesn't fix it, but it's cleaner.
This commit is contained in:
parent
717ee92e41
commit
fe71094ad8
@ -49,7 +49,8 @@ if sqlite is not None:
|
|||||||
'register foo bar',
|
'register foo bar',
|
||||||
prefix=self.prefix))
|
prefix=self.prefix))
|
||||||
_ = self.irc.takeMsg()
|
_ = 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):
|
def test(self):
|
||||||
self.assertNotError('channelstats')
|
self.assertNotError('channelstats')
|
||||||
|
Loading…
Reference in New Issue
Block a user