mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Changed the logging of actual messages to debug, not info.
This commit is contained in:
parent
1c2bdcbf3d
commit
e5689daf6d
@ -524,7 +524,7 @@ class Irc(IrcCommandDispatcher):
|
|||||||
msg._str = msg._str[:500] + '\r\n'
|
msg._str = msg._str[:500] + '\r\n'
|
||||||
msg._len = len(str(msg))
|
msg._len = len(str(msg))
|
||||||
self.state.addMsg(self, msg)
|
self.state.addMsg(self, msg)
|
||||||
log.info('Outgoing message: ' + str(msg).rstrip('\r\n'))
|
log.debug('Outgoing message: ' + str(msg).rstrip('\r\n'))
|
||||||
if msg.command == 'NICK':
|
if msg.command == 'NICK':
|
||||||
# We don't want a race condition where the server's NICK
|
# We don't want a race condition where the server's NICK
|
||||||
# back to us is lost and someone else steals our nick and uses
|
# back to us is lost and someone else steals our nick and uses
|
||||||
@ -609,7 +609,7 @@ class Irc(IrcCommandDispatcher):
|
|||||||
|
|
||||||
def feedMsg(self, msg):
|
def feedMsg(self, msg):
|
||||||
"""Called by the IrcDriver; feeds a message received."""
|
"""Called by the IrcDriver; feeds a message received."""
|
||||||
log.info('Incoming message: ' + str(msg).rstrip('\r\n'))
|
log.debug('Incoming message: ' + str(msg).rstrip('\r\n'))
|
||||||
|
|
||||||
# Yeah, so this is odd. Some networks (oftc) seem to give us certain
|
# Yeah, so this is odd. Some networks (oftc) seem to give us certain
|
||||||
# messages with our nick instead of our prefix. We'll fix that here.
|
# messages with our nick instead of our prefix. We'll fix that here.
|
||||||
|
Loading…
Reference in New Issue
Block a user