view doc/src/api/event/onLoad.md @ 687:84537e43b352

Tests: add [rule] load tests, continue #779
author David Demelier <markand@malikania.fr>
date Fri, 13 Apr 2018 22:32:30 +0200
parents ebdc614db066
children
line wrap: on
line source

# Event onLoad

This function is called when irccd instance load a plugin. If this function
throws an error, the script is not loaded.

# Synopsis

```javascript
function onLoad()
```