]> jfr.im git - solanum.git/blobdiff - extensions/m_findforwards.c
Give all extensions/m_* modules AV2 descriptions
[solanum.git] / extensions / m_findforwards.c
index 82b391edaf1a5ef6795dc96a26d2c8fd5ce91bef..ff8efff45b954266acee395ff09a615ac407a7a6 100644 (file)
@@ -16,8 +16,6 @@
  *   You should have received a copy of the GNU General Public License
  *   along with this program; if not, write to the Free Software
  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- *   $Id: m_findforwards.c 986 2006-03-08 00:10:46Z jilles $
  */
 #include "stdinc.h"
 #include "channel.h"
 #include "packet.h"
 #include "messages.h"
 
-static int m_findforwards(struct Client *client_p, struct Client *source_p,
+static int m_findforwards(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
                        int parc, const char *parv[]);
 
 struct Message findforwards_msgtab = {
-       "FINDFORWARDS", 0, 0, 0, MFLG_SLOW,
+       "FINDFORWARDS", 0, 0, 0, 0,
        {mg_unreg, {m_findforwards, 2}, mg_ignore, mg_ignore, mg_ignore, {m_findforwards, 2}}
 };
 
 mapi_clist_av1 findforwards_clist[] = { &findforwards_msgtab, NULL };
 
-DECLARE_MODULE_AV1(findforwards, NULL, NULL, findforwards_clist, NULL, NULL, "$Revision: 986 $");
+static const char findfowards_desc = "Allows operators to find forwards to a given channel";
+
+DECLARE_MODULE_AV2(findforwards, NULL, NULL, findforwards_clist, NULL, NULL, NULL, NULL, findfowards_desc);
 
 /*
 ** mo_findforwards
 **      parv[1] = channel
 */
 static int
-m_findforwards(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+m_findforwards(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        static time_t last_used = 0;
        struct Channel *chptr;