mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Guarded IrcState.doMode to work only with channels.
This commit is contained in:
parent
6169822349
commit
2da90c99d6
@ -214,7 +214,7 @@ class IrcStateTestCase(unittest.TestCase):
|
|||||||
|
|
||||||
def testDoModeOnlyChannels(self):
|
def testDoModeOnlyChannels(self):
|
||||||
st = irclib.IrcState()
|
st = irclib.IrcState()
|
||||||
self.assert_(st.addMsg(self.irc, ircmsgs.IrcMsg('MODE foo +i')) or 1)
|
st.addMsg(self.irc, ircmsgs.IrcMsg('MODE foo +i'))
|
||||||
|
|
||||||
"""
|
"""
|
||||||
def testChannels(self):
|
def testChannels(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user