equal
deleted
inserted
replaced
31 |
31 |
32 #include "config.h" |
32 #include "config.h" |
33 |
33 |
34 #define DESCRIPTION ( "Shows mcabber uptime." ) |
34 #define DESCRIPTION ( "Shows mcabber uptime." ) |
35 |
35 |
36 module_info_t info_uptime_experimental = { |
36 module_info_t info_uptime = { |
37 .branch = "experimental", |
37 .branch = MCABBER_BRANCH, |
38 .api = 34, |
38 .api = MCABBER_API_VERSION, |
39 .version = PROJECT_VERSION, |
39 .version = PROJECT_VERSION, |
40 .description = DESCRIPTION, |
40 .description = DESCRIPTION, |
41 .requires = NULL, |
41 .requires = NULL, |
42 .init = NULL, |
42 .init = NULL, |
43 .uninit = NULL, |
43 .uninit = NULL, |
44 .next = NULL, |
44 .next = NULL, |
45 }; |
|
46 |
|
47 module_info_t info_uptime = { |
|
48 .branch = "dev", |
|
49 .api = 20, |
|
50 .version = PROJECT_VERSION, |
|
51 .description = DESCRIPTION, |
|
52 .requires = NULL, |
|
53 .init = NULL, |
|
54 .uninit = NULL, |
|
55 .next = &info_uptime_experimental, |
|
56 }; |
45 }; |
57 |
46 |
58 static gpointer uptime_cmid = NULL; |
47 static gpointer uptime_cmid = NULL; |
59 |
48 |
60 guint hz = 0; |
49 guint hz = 0; |