mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Add irc.state.ircd.
This commit is contained in:
parent
8e1929d1b4
commit
856a65c9f6
@ -352,6 +352,7 @@ class IrcState(IrcCommandDispatcher):
|
|||||||
nicksToHostmasks = ircutils.IrcDict()
|
nicksToHostmasks = ircutils.IrcDict()
|
||||||
if channels is None:
|
if channels is None:
|
||||||
channels = ircutils.IrcDict()
|
channels = ircutils.IrcDict()
|
||||||
|
self.ircd = None
|
||||||
self.supported = supported
|
self.supported = supported
|
||||||
self.history = history
|
self.history = history
|
||||||
self.channels = channels
|
self.channels = channels
|
||||||
@ -408,6 +409,7 @@ class IrcState(IrcCommandDispatcher):
|
|||||||
Supported user and channel modes are cached"""
|
Supported user and channel modes are cached"""
|
||||||
# msg.args = [nick, server, ircd-version, umodes, modes,
|
# msg.args = [nick, server, ircd-version, umodes, modes,
|
||||||
# modes that require arguments? (non-standard)]
|
# modes that require arguments? (non-standard)]
|
||||||
|
self.ircd = msg.args[2]
|
||||||
self.supported['umodes'] = msg.args[3]
|
self.supported['umodes'] = msg.args[3]
|
||||||
self.supported['chanmodes'] = msg.args[4]
|
self.supported['chanmodes'] = msg.args[4]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user