]> jfr.im git - solanum.git/blobdiff - modules/m_time.c
modules: Add AV2 descriptions to all m_t* modules
[solanum.git] / modules / m_time.c
index 547efb2e0eb6fc72f23e294577f50e4dfed5e2d9..9d7d3ec524fa03d1303d1d12f8372d6fc8f622b3 100644 (file)
@@ -36,6 +36,8 @@
 
 static int m_time(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 static char *date(void);
+static const char time_desc[] =
+       "Provides the TIME command to show the current server time":
 
 struct Message time_msgtab = {
        "TIME", 0, 0, 0, 0,
@@ -43,7 +45,7 @@ struct Message time_msgtab = {
 };
 
 mapi_clist_av1 time_clist[] = { &time_msgtab, NULL };
-DECLARE_MODULE_AV1(time, NULL, NULL, time_clist, NULL, NULL, "$Revision: 254 $");
+DECLARE_MODULE_AV2(time, NULL, NULL, time_clist, NULL, NULL, NULL, NULL, time_desc);
 
 static const char *months[] = {
        "January", "February", "March", "April",