mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Fix for broken test_Topic.
This commit is contained in:
parent
3fd71dc26a
commit
8eaec18a5e
@ -708,7 +708,9 @@ class Irc(IrcCommandDispatcher):
|
||||
# I don't think we should do this. Why should it matter? If it's
|
||||
# something important, then the server will send it back to us,
|
||||
# and if it's just a privmsg/notice/etc., we don't care.
|
||||
# self.state.addMsg(self, msg)
|
||||
# On second thought, we need this for testing.
|
||||
if world.testing:
|
||||
self.state.addMsg(self, msg)
|
||||
log.debug('Outgoing message: ' + str(msg).rstrip('\r\n'))
|
||||
if msg.command == 'JOIN':
|
||||
channels = msg.args[0].split(',')
|
||||
|
Loading…
Reference in New Issue
Block a user