pep.c
changeset 35 a77a8e7ab8ae
parent 34 eea355fa94cf
--- a/pep.c	Sun Jul 22 15:45:05 2012 +0300
+++ b/pep.c	Sun Jul 22 15:50:50 2012 +0300
@@ -35,9 +35,9 @@
 
 #define DESCRIPTION ( PEP_DESCRIPTION )
 
-static module_info_t info_pep_dev = {
-	.branch      = "dev",
-	.api         = 20,
+module_info_t info_pep = {
+	.branch      = MCABBER_BRANCH,
+	.api         = MCABBER_API_VERSION,
 	.version     = PROJECT_VERSION,
 	.description = DESCRIPTION,
 	.requires    = NULL,
@@ -46,28 +46,6 @@
 	.next        = NULL,
 };
 
-static module_info_t info_pep_0_10_0 = {
-	.branch      = "0.10.0",
-	.api         = 1,
-	.version     = PROJECT_VERSION,
-	.description = DESCRIPTION,
-	.requires    = NULL,
-	.init        = pep_init,
-	.uninit      = pep_uninit,
-	.next        = &info_pep_dev,
-};
-
-module_info_t info_pep = {
-	.branch      = "0.10.1",
-	.api         = 1,
-	.version     = PROJECT_VERSION,
-	.description = DESCRIPTION,
-	.requires    = NULL,
-	.init        = pep_init,
-	.uninit      = pep_uninit,
-	.next        = &info_pep_0_10_0,
-};
-
 typedef struct pep_handler_struct pep_handler_t;
 
 struct pep_handler_struct {