3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

Merge branch 'master' into wip/unrealircd

This commit is contained in:
James Lu 2015-10-09 21:36:02 -07:00
commit f97d3eb756
2 changed files with 2 additions and 1 deletions

View File

@ -248,6 +248,7 @@ class Irc():
except Exception:
log.exception('(%s) Caught error in handle_events, disconnecting!', self.name)
log.error('(%s) The offending line was: <- %s', self.name, line)
self.aborted.set()
return
# Only call our hooks if there's data to process. Handlers that support
# hooks will return a dict of parsed arguments, which can be passed on

View File

@ -374,7 +374,7 @@ class InspIRCdProtocol(TS6BaseProtocol):
self.irc.maxnicklen = int(caps['NICKMAX'])
self.irc.maxchanlen = int(caps['CHANMAX'])
# Modes are divided into A, B, C, and D classes
# See http://www.self.irc.org/tech_docs/005.html
# See http://www.irc.org/tech_docs/005.html
# FIXME: Find a better way to assign/store this.
self.irc.cmodes['*A'], self.irc.cmodes['*B'], self.irc.cmodes['*C'], self.irc.cmodes['*D'] \