aboutsummaryrefslogtreecommitdiff
path: root/plugins/proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/proxy.py')
-rw-r--r--plugins/proxy.py2
1 files changed, 1 insertions, 1 deletions
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)