mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-02 23:54:08 +01:00
FakeIRC: swap arrows in debug output
This is for more consistency with the real protocol debug output: -> is protocol OUTBOUND - irc.send() <- is protocol INBOUND - irc.run()
This commit is contained in:
parent
b3f369aa81
commit
fe1f90bcd1
@ -29,12 +29,12 @@ class FakeIRC(main.Irc):
|
||||
|
||||
def run(self, data):
|
||||
"""Queues a message to the fake IRC server."""
|
||||
log.debug('-> ' + data)
|
||||
log.debug('<- ' + data)
|
||||
self.proto.handle_events(self, data)
|
||||
|
||||
def send(self, data):
|
||||
self.messages.append(data)
|
||||
log.debug('<- ' + data)
|
||||
log.debug('-> ' + data)
|
||||
|
||||
def takeMsgs(self):
|
||||
"""Returns a list of messages sent by the protocol module since
|
||||
|
Loading…
Reference in New Issue
Block a user