diff doc/src/api/event/onReload.md @ 607:bb9771fb5f44

Docs: rework documentation - Change directories, - Remove handwritten manual pages.
author David Demelier <markand@malikania.fr>
date Fri, 08 Dec 2017 20:11:22 +0100
parents doc/html/api/event/onReload.md@904ee87bc808
children ebdc614db066
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/src/api/event/onReload.md	Fri Dec 08 20:11:22 2017 +0100
@@ -0,0 +1,13 @@
+---
+event: onReload
+js: true
+summary: "Request to reload the plugin."
+synopsis: "function onReload()"
+---
+
+This function is called when irccd instance reload a plugin. Thus, there are no IRC events that call this function.
+
+This function does nothing in the irccd internals, it just calls a function that you can use to reload some data. It
+does not delete anything.
+
+If you want to fully unload a plugin, use `irccdctl plugin-unload` then `irccdctl plugin-load`.