]> jfr.im git - solanum.git/blobdiff - modules/m_away.c
Move module description headers to the top
[solanum.git] / modules / m_away.c
index a36dafbc6f2656931573c477a2bcd98460265028..80bbc55e7839f4a273dc65d738af33cb13e6af47 100644 (file)
@@ -35,6 +35,8 @@
 #include "s_serv.h"
 #include "packet.h"
 
+static const char away_desc[] = "Provides the AWAY command to set yourself away";
+
 static int m_away(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 struct Message away_msgtab = {
@@ -43,7 +45,8 @@ struct Message away_msgtab = {
 };
 
 mapi_clist_av1 away_clist[] = { &away_msgtab, NULL };
-DECLARE_MODULE_AV1(away, NULL, NULL, away_clist, NULL, NULL, "$Revision: 3370 $");
+
+DECLARE_MODULE_AV2(away, NULL, NULL, away_clist, NULL, NULL, NULL, NULL, away_desc);
 
 /***********************************************************************
  * m_away() - Added 14 Dec 1988 by jto.