mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-14 14:49:21 +01:00
Sort remaining nondeterministc sets of values
Closes GH-1516
This commit is contained in:
parent
dc94f8dc68
commit
d0a484c11c
@ -50,6 +50,7 @@ conf.registerChannelValue(Protector, 'enable',
|
||||
|
||||
class ImmuneNicks(conf.ValidNicks):
|
||||
List = ircutils.IrcSet
|
||||
sorted = True
|
||||
|
||||
conf.registerChannelValue(Protector, 'immune',
|
||||
ImmuneNicks([], _("""Determines what nicks the bot will consider to
|
||||
|
@ -43,7 +43,7 @@ def configure(advanced):
|
||||
conf.registerPlugin('RSS', True)
|
||||
|
||||
|
||||
class FeedNames(registry.SpaceSeparatedListOfStrings):
|
||||
class FeedNames(registry.SpaceSeparatedSetOfStrings):
|
||||
List = callbacks.CanonicalNameSet
|
||||
|
||||
class FeedItemSortOrder(registry.OnlySomeStrings):
|
||||
|
@ -50,10 +50,12 @@ def configure(advanced):
|
||||
class Ignores(registry.SpaceSeparatedListOf):
|
||||
List = ircutils.IrcSet
|
||||
Value = conf.ValidHostmask
|
||||
sorted = True
|
||||
|
||||
class Networks(registry.SpaceSeparatedListOf):
|
||||
List = ircutils.IrcSet
|
||||
Value = registry.String
|
||||
sorted = True
|
||||
|
||||
Relay = conf.registerPlugin('Relay')
|
||||
conf.registerChannelValue(Relay, 'color',
|
||||
|
@ -64,6 +64,7 @@ class ValidNickOrEmptyString(registry.String):
|
||||
|
||||
class ValidNickSet(conf.ValidNicks):
|
||||
List = ircutils.IrcSet
|
||||
sorted = True
|
||||
|
||||
Services = conf.registerPlugin('Services')
|
||||
conf.registerNetworkValue(Services, 'nicks',
|
||||
|
@ -1314,7 +1314,7 @@ def checkCapabilities(hostmask, capabilities, requireAll=False):
|
||||
# supybot.capabilities
|
||||
###
|
||||
|
||||
class SpaceSeparatedListOfCapabilities(registry.SpaceSeparatedListOfStrings):
|
||||
class SpaceSeparatedListOfCapabilities(registry.SpaceSeparatedSetOfStrings):
|
||||
__slots__ = ()
|
||||
List = CapabilitySet
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user