mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-18 08:02:49 +01:00
Add ° as a prefix character.
This commit is contained in:
parent
59b9ba2cf8
commit
0af7d791cc
@ -454,9 +454,9 @@ registerChannelValue(supybot.reply, 'showSimpleSyntax',
|
|||||||
help) rather than the full help.""")))
|
help) rather than the full help.""")))
|
||||||
|
|
||||||
class ValidPrefixChars(registry.String):
|
class ValidPrefixChars(registry.String):
|
||||||
"""Value must contain only ~!@#$%^&*()_-+=[{}]\\|'\";:,<.>/?"""
|
"""Value must contain only ~!@#$%^&*()_-+=[{}]\\|'\";:,<.>/?°"""
|
||||||
def setValue(self, v):
|
def setValue(self, v):
|
||||||
if v.translate(utils.str.chars, '`~!@#$%^&*()_-+=[{}]\\|\'";:,<.>/?'):
|
if v.translate(utils.str.chars, '`~!@#$%^&*()_-+=[{}]\\|\'";:,<.>/?°'):
|
||||||
self.error()
|
self.error()
|
||||||
registry.String.setValue(self, v)
|
registry.String.setValue(self, v)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user