add hooks for user quit, part, and join

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-12-17 15:27:36 -05:00
parent 8a6554a10f
commit da817f631c
1 changed files with 3 additions and 1 deletions

View File

@ -211,11 +211,13 @@ _cb_idle(void *data EINA_UNUSED)
cbs.data = _win;
cbs.connect = _callback_server_connected;
// cbs.quit = _callback_server_disconnected;
cbs.motd = _callback_server_motd;
cbs.channel_msg = _callback_channel_message;
cbs.channel_notice = _callback_channel_notice;
cbs.topic = _callback_channel_topic;
cbs.quit = _callback_user_quit;
cbs.part = _callback_user_part;
cbs.join = _callback_user_join;
/* try to create a new network */
if (!(net = express_network_create(&cbs, cfg_net->name)))