From a321e0d4ab22373933c7d9c0a0d26996889004a5 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 31 Aug 2011 15:30:33 +0200 Subject: closed #357, #384 --- docs/write_hooks.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/write_hooks.rst b/docs/write_hooks.rst index ffc41d705..dd60367b7 100644 --- a/docs/write_hooks.rst +++ b/docs/write_hooks.rst @@ -19,7 +19,7 @@ All Hooks should start with something like this: :: from module.plugins.Hook import Hook class YourHook(Hook): - __name__ = "My own Hook" + __name__ = "YourHook" __version__ = "0.1" __description__ = "Does really cool stuff" __config__ = [ ("activated" , "bool" , "Activated" , "True" ) ] @@ -159,4 +159,4 @@ Example ------- Sorry but you won't find an example here ;-) - Look at :file:`module/plugins/hooks` and you will find plenty examples there. \ No newline at end of file + Look at :file:`module/plugins/hooks` and you will find plenty examples there. -- cgit v1.2.3