mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
main: add a note about irc.connected.wait() and maxnicklen being set
This commit is contained in:
parent
cd244ee89b
commit
2106b8da3a
6
main.py
6
main.py
@ -37,6 +37,12 @@ class Irc():
|
||||
self.umodes = {'invisible': 'i', 'snomask': 's', 'wallops': 'w',
|
||||
'oper': 'o',
|
||||
'*A': '', '*B': '', '*C': 's', '*D': 'iow'}
|
||||
# This nicklen value is only a default, and SHOULD be set by the
|
||||
# protocol module as soon as the relevant capability information is
|
||||
# received from the uplink. Plugins that depend on maxnicklen being
|
||||
# set MUST call "irc.connected.wait()", which blocks until the
|
||||
# capability information is received. This handling of irc.connected
|
||||
# is also dependent on the protocol module.
|
||||
self.maxnicklen = 30
|
||||
self.prefixmodes = 'ov'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user