Skip to content

Commit

Permalink
xmpp: port script functions to new param interface
Browse files Browse the repository at this point in the history
  • Loading branch information
rvlad-patrascu authored and liviuchircu committed Apr 4, 2019
1 parent 5520b3a commit a610e8a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/xmpp/xmpp.c
Expand Up @@ -130,9 +130,11 @@ static proc_export_t procs[] = {
* Exported functions
*/
static cmd_export_t cmds[] = {
{"xmpp_send_message", (cmd_function)cmd_send_message, 0, 0, 0, REQUEST_ROUTE},
{"bind_xmpp", (cmd_function)bind_xmpp, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0}
{"xmpp_send_message", (cmd_function)cmd_send_message, {{0,0,0}},
REQUEST_ROUTE},
{"bind_xmpp", (cmd_function)bind_xmpp,
{{0,0,0}}, ALL_ROUTES},
{0,0,{{0,0,0}},0}
};

/*
Expand Down

0 comments on commit a610e8a

Please sign in to comment.