diff -r d5748ae53a17 -r 29491118c0dd cmd.c --- a/cmd.c Wed Apr 07 21:05:20 2010 +0300 +++ b/cmd.c Sun Apr 11 21:09:13 2010 +0300 @@ -47,11 +47,7 @@ static module_info_t info_cmd_experimental = { .branch = "experimental", -#ifndef HAVE_CMD_ID - .api = 20, -#else - .api = 23, -#endif + .api = 27, .version = PROJECT_VERSION, .description = DESCRIPTION, .requires = NULL, @@ -60,7 +56,7 @@ .next = NULL, }; -module_info_t info_cmd = { +static module_info_t info_cmd_dev = { .branch = "dev", .api = 13, .version = PROJECT_VERSION, @@ -71,6 +67,17 @@ .next = &info_cmd_experimental, }; +module_info_t info_cmd = { + .branch = "0.10.0", + .api = 1, + .version = PROJECT_VERSION, + .description = DESCRIPTION, + .requires = NULL, + .init = mcmd_init, + .uninit = mcmd_uninit, + .next = &info_cmd_dev, +}; + typedef struct { gchar *jid; GString *input;