From 78624ddf8d74e39d7afb7dc5bd16c9dcd1150634 Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Mon, 7 Mar 2016 02:45:00 -0600 Subject: [PATCH] modules: Add AV2 description to m_version --- modules/m_version.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/m_version.c b/modules/m_version.c index 13cdb360..e9e1607b 100644 --- a/modules/m_version.c +++ b/modules/m_version.c @@ -38,6 +38,8 @@ static char *confopts(void); static int m_version(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int mo_version(struct MsgBuf *, struct Client *, struct Client *, int, const char **); +static const char version_desc[] = + "Provides the VERSION command to display server version information"; struct Message version_msgtab = { "VERSION", 0, 0, 0, 0, @@ -45,7 +47,7 @@ struct Message version_msgtab = { }; mapi_clist_av1 version_clist[] = { &version_msgtab, NULL }; -DECLARE_MODULE_AV2(version, NULL, NULL, version_clist, NULL, NULL, NULL, NULL, NULL); +DECLARE_MODULE_AV2(version, NULL, NULL, version_clist, NULL, NULL, NULL, NULL, version_desc); /* * m_version - VERSION command handler