mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
src/irclib.py: use a set instead of a list for Irc.caps
This commit is contained in:
parent
581d167e5e
commit
da817603dd
@ -654,7 +654,7 @@ class Irc(IrcCommandDispatcher):
|
||||
self._setNonResettingVariables()
|
||||
self._queueConnectMessages()
|
||||
self.startedSync = ircutils.IrcDict()
|
||||
self.caps = ['account-notify', 'extended-join']
|
||||
self.caps = set(['account-notify', 'extended-join'])
|
||||
|
||||
def isChannel(self, s):
|
||||
"""Helper function to check whether a given string is a channel on
|
||||
|
Loading…
Reference in New Issue
Block a user