summaryrefslogtreecommitdiffstats
path: root/docs/plugins/addon_plugin.rst
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-12 13:12:59 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-12 13:12:59 +0200
commit3512605b8c0370905ae9e7a2adc79ddded2d8d20 (patch)
treeb7a9b68ebd599ecbe96dee0ca650d120093f632b /docs/plugins/addon_plugin.rst
parentMerge remote-tracking branch 'origin/stable' (diff)
downloadpyload-3512605b8c0370905ae9e7a2adc79ddded2d8d20.tar.xz
fixed addon related bugs
Diffstat (limited to 'docs/plugins/addon_plugin.rst')
-rw-r--r--docs/plugins/addon_plugin.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/plugins/addon_plugin.rst b/docs/plugins/addon_plugin.rst
index bef5b115e..8f1adf39a 100644
--- a/docs/plugins/addon_plugin.rst
+++ b/docs/plugins/addon_plugin.rst
@@ -95,7 +95,7 @@ It requires a `dict` that maps event names to function names or a `list` of func
print "The underlying event (allDownloadsFinished) for this method is not available through the base class"
An advantage of the event listener is that you are able to register and remove the listeners at runtime.
-Use `self.manager.addEvent("name", function)`, `self.manager.removeEvent("name", function)` and see doc for
+Use `self.manager.listenTo("name", function)`, `self.manager.removeEvent("name", function)` and see doc for
:class:`HookManager <pyload.HookManager.HookManager>`. Contrary to ``event_map``, ``function`` has to be a reference
and **not** a `string`.