mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
RSS: Forbid dots in feed names.
They confuse the registry
This commit is contained in:
parent
3d21c7cbcb
commit
e96633c1e3
@ -70,6 +70,9 @@ def get_feedName(irc, msg, args, state):
|
||||
if not registry.isValidRegistryName(args[0]):
|
||||
state.errorInvalid('feed name', args[0],
|
||||
'Feed names must not include spaces.')
|
||||
if "." in args[0]:
|
||||
state.errorInvalid('feed name', args[0],
|
||||
'Feed names must not include dots.')
|
||||
state.args.append(callbacks.canonicalName(args.pop(0)))
|
||||
addConverter('feedName', get_feedName)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user