mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +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()
|
||||
if channels is None:
|
||||
channels = ircutils.IrcDict()
|
||||
self.ircd = None
|
||||
self.supported = supported
|
||||
self.history = history
|
||||
self.channels = channels
|
||||
@ -408,6 +409,7 @@ class IrcState(IrcCommandDispatcher):
|
||||
Supported user and channel modes are cached"""
|
||||
# msg.args = [nick, server, ircd-version, umodes, modes,
|
||||
# modes that require arguments? (non-standard)]
|
||||
self.ircd = msg.args[2]
|
||||
self.supported['umodes'] = msg.args[3]
|
||||
self.supported['chanmodes'] = msg.args[4]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user