mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Changed networks to be case-insensitive.
This commit is contained in:
parent
5f90e63937
commit
6c9d74e728
@ -185,9 +185,10 @@ registerGlobalValue(supybot, 'user',
|
|||||||
sends to the server."""))
|
sends to the server."""))
|
||||||
|
|
||||||
class Networks(registry.SpaceSeparatedSetOfStrings):
|
class Networks(registry.SpaceSeparatedSetOfStrings):
|
||||||
|
List = ircutils.IrcSet
|
||||||
|
|
||||||
registerGlobalValue(supybot, 'networks',
|
registerGlobalValue(supybot, 'networks',
|
||||||
registry.SpaceSeparatedSetOfStrings([], """Determines what networks the bot
|
Networks([], """Determines what networks the bot will connect to."""))
|
||||||
will connect to."""))
|
|
||||||
|
|
||||||
class Servers(registry.SpaceSeparatedListOfStrings):
|
class Servers(registry.SpaceSeparatedListOfStrings):
|
||||||
def normalize(self, s):
|
def normalize(self, s):
|
||||||
|
Loading…
Reference in New Issue
Block a user