mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Let people specify the entire conf.supybot.foo... when using @config
This commit is contained in:
parent
8cc4a98d9e
commit
dfd51532f4
@ -106,6 +106,8 @@ class Config(callbacks.Privmsg):
|
||||
irc.error(str(e))
|
||||
|
||||
def _canonicalizeName(self, name):
|
||||
if name.startswith('conf.'):
|
||||
name = name[5:]
|
||||
if not name.startswith('supybot') and not name.startswith('users'):
|
||||
name = 'supybot.' + name
|
||||
return name
|
||||
|
Loading…
Reference in New Issue
Block a user