view doc/src/api/event/onConnect.md @ 794:6e108be0835d

tests: rename libcommon to libirccd-core
author David Demelier <markand@malikania.fr>
date Sun, 11 Nov 2018 10:41:30 +0100
parents ebdc614db066
children
line wrap: on
line source

# Event onConnect

This callback is called when the irccd instance successfully connect to a
server.

# Synopsis

```javascript
function onConnect(server)
```

# Arguments

  - **server**: the current server.