]>
jfr.im git - erebus.git/blob - modlib.py
5 def __init__(self
, name
):
8 def modstart(self
, parent
):
10 for cmd
, func
in self
.hooks
.iteritems():
11 self
.parent
.hook(cmd
, func
)
15 self
.hooks
[cmd
] = func
16 if self
.parent
is not None:
17 self
.parent
.hook(cmd
, func
)