X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/06fb2357e446541618cef8beadd2ab659f6c22ca..7ad702ed8800ba9e5526a1c07c9d627e944dc234:/plugins/proxy.py diff --git a/plugins/proxy.py b/plugins/proxy.py index 55c552ab2..582010c9a 100644 --- a/plugins/proxy.py +++ b/plugins/proxy.py @@ -151,7 +151,7 @@ class IkiWikiProcedureProxy(object): self._xmlrpc_handler = _IkiWikiExtPluginXMLRPCHandler(self._debug_fn) self._xmlrpc_handler.register_function(self._importme, name='import') - def register_hook(self, type, function): + def hook(self, type, function): self._hooks.append((type, function.__name__)) self._xmlrpc_handler.register_function(function)