Guarded IrcState.doMode to work only with channels.

This commit is contained in:
Jeremy Fincher 2003-09-29 07:46:03 +00:00
parent 6169822349
commit 2da90c99d6

View File

@ -214,7 +214,7 @@ class IrcStateTestCase(unittest.TestCase):
def testDoModeOnlyChannels(self):
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):