Change alias definitions to be global, so aliases can be reused across different networks
parent
355a80b19b
commit
32309ecec2
@ -0,0 +1,12 @@
|
||||
import main
|
||||
from yaml import dump
|
||||
|
||||
class AliasCommand:
|
||||
def __init__(self, *args):
|
||||
self.alias(*args)
|
||||
|
||||
def alias(self, addr, authed, data, obj, spl, success, failure, info, incUsage, length):
|
||||
if authed:
|
||||
info(dump(main.alias))
|
||||
else:
|
||||
incUsage(None)
|
@ -0,0 +1 @@
|
||||
{}
|
Loading…
Reference in New Issue