]> jfr.im git - solanum.git/blobdiff - modules/m_restart.c
modules: Add AV2 description to m_xline
[solanum.git] / modules / m_restart.c
index 7f3721e77b7140925c3353a92d638c67e7b5d42c..114ee3619a8bfbcd7e6fcc33ba1ebc9421bc4ec1 100644 (file)
@@ -20,8 +20,6 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
- *
- *  $Id: m_restart.c 3161 2007-01-25 07:23:01Z nenolod $
  */
 
 #include "stdinc.h"
@@ -43,6 +41,7 @@
 static int mo_restart(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 static int me_restart(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 static int do_restart(struct Client *source_p, const char *servername);
+static const char restart_desc[] = "Provides the RESTART command to restart the server";
 
 struct Message restart_msgtab = {
        "RESTART", 0, 0, 0, 0,
@@ -50,11 +49,10 @@ struct Message restart_msgtab = {
 };
 
 mapi_clist_av1 restart_clist[] = { &restart_msgtab, NULL };
-DECLARE_MODULE_AV1(restart, NULL, NULL, restart_clist, NULL, NULL, "$Revision: 3161 $");
+DECLARE_MODULE_AV2(restart, NULL, NULL, restart_clist, NULL, NULL, NULL, NULL, restart_desc);
 
 /*
  * mo_restart
- *
  */
 static int
 mo_restart(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])