--- a/env.c Thu Jun 30 16:10:40 2011 +0300
+++ b/env.c Sun Jul 22 15:29:30 2012 +0300
@@ -37,9 +37,9 @@
#define DESCRIPTION ( "Some debugging routines\nProvides commands /env and /cd" )
-static module_info_t info_env_dev = {
- .branch = "dev",
- .api = 20,
+module_info_t info_env = {
+ .branch = MCABBER_BRANCH,
+ .api = MCABBER_API_VERSION,
.version = PROJECT_VERSION,
.description = DESCRIPTION,
.requires = NULL,
@@ -48,17 +48,6 @@
.next = NULL,
};
-module_info_t info_env = {
- .branch = "0.10.1",
- .api = 1,
- .version = PROJECT_VERSION,
- .description = DESCRIPTION,
- .requires = NULL,
- .init = env_load,
- .uninit = env_unload,
- .next = &info_env_dev,
-};
-
#ifdef MCABBER_API_HAVE_CMD_ID
static gpointer env_env_cmid = NULL;
static gpointer env_cd_cmid = NULL;