mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 12:49:24 +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):
|
class ImmuneNicks(conf.ValidNicks):
|
||||||
List = ircutils.IrcSet
|
List = ircutils.IrcSet
|
||||||
|
sorted = True
|
||||||
|
|
||||||
conf.registerChannelValue(Protector, 'immune',
|
conf.registerChannelValue(Protector, 'immune',
|
||||||
ImmuneNicks([], _("""Determines what nicks the bot will consider to
|
ImmuneNicks([], _("""Determines what nicks the bot will consider to
|
||||||
|
@ -43,7 +43,7 @@ def configure(advanced):
|
|||||||
conf.registerPlugin('RSS', True)
|
conf.registerPlugin('RSS', True)
|
||||||
|
|
||||||
|
|
||||||
class FeedNames(registry.SpaceSeparatedListOfStrings):
|
class FeedNames(registry.SpaceSeparatedSetOfStrings):
|
||||||
List = callbacks.CanonicalNameSet
|
List = callbacks.CanonicalNameSet
|
||||||
|
|
||||||
class FeedItemSortOrder(registry.OnlySomeStrings):
|
class FeedItemSortOrder(registry.OnlySomeStrings):
|
||||||
|
@ -50,10 +50,12 @@ def configure(advanced):
|
|||||||
class Ignores(registry.SpaceSeparatedListOf):
|
class Ignores(registry.SpaceSeparatedListOf):
|
||||||
List = ircutils.IrcSet
|
List = ircutils.IrcSet
|
||||||
Value = conf.ValidHostmask
|
Value = conf.ValidHostmask
|
||||||
|
sorted = True
|
||||||
|
|
||||||
class Networks(registry.SpaceSeparatedListOf):
|
class Networks(registry.SpaceSeparatedListOf):
|
||||||
List = ircutils.IrcSet
|
List = ircutils.IrcSet
|
||||||
Value = registry.String
|
Value = registry.String
|
||||||
|
sorted = True
|
||||||
|
|
||||||
Relay = conf.registerPlugin('Relay')
|
Relay = conf.registerPlugin('Relay')
|
||||||
conf.registerChannelValue(Relay, 'color',
|
conf.registerChannelValue(Relay, 'color',
|
||||||
|
@ -64,6 +64,7 @@ class ValidNickOrEmptyString(registry.String):
|
|||||||
|
|
||||||
class ValidNickSet(conf.ValidNicks):
|
class ValidNickSet(conf.ValidNicks):
|
||||||
List = ircutils.IrcSet
|
List = ircutils.IrcSet
|
||||||
|
sorted = True
|
||||||
|
|
||||||
Services = conf.registerPlugin('Services')
|
Services = conf.registerPlugin('Services')
|
||||||
conf.registerNetworkValue(Services, 'nicks',
|
conf.registerNetworkValue(Services, 'nicks',
|
||||||
|
@ -1314,7 +1314,7 @@ def checkCapabilities(hostmask, capabilities, requireAll=False):
|
|||||||
# supybot.capabilities
|
# supybot.capabilities
|
||||||
###
|
###
|
||||||
|
|
||||||
class SpaceSeparatedListOfCapabilities(registry.SpaceSeparatedListOfStrings):
|
class SpaceSeparatedListOfCapabilities(registry.SpaceSeparatedSetOfStrings):
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
List = CapabilitySet
|
List = CapabilitySet
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user