mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-05-02 16:31:10 -05:00
fixed a weired issue with registry.SpaceSeparatedListOfStrings on first load of plugin
This commit is contained in:
parent
b2acd22c0a
commit
286ff67141
@ -42,7 +42,6 @@ import supybot.callbacks as callbacks
|
||||
import supybot.ircdb as ircdb
|
||||
import supybot.log as log
|
||||
import supybot.schedule as schedule
|
||||
from string import Template
|
||||
import socket
|
||||
import re
|
||||
import sqlite3
|
||||
@ -1818,6 +1817,8 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
|
||||
# ['account-notify','extended-join']
|
||||
# targeted caps
|
||||
CAPS = self.registryValue('caps')
|
||||
CAPS = ''.join(CAPS)
|
||||
CAPS = CAPS.split(',')
|
||||
for cap in CAPS:
|
||||
if cap in i.caps['LS'] and not cap in i.caps['LIST']:
|
||||
r.append(cap)
|
||||
|
Loading…
x
Reference in New Issue
Block a user