]> jfr.im git - solanum.git/blobdiff - extensions/spy_stats_notice.c
m_grant: zero-initialize struct oper_conf
[solanum.git] / extensions / spy_stats_notice.c
index f104800c6e7cc2e9de48ea969075382c1308c147..6bc23141742b7e62fbb84cbdce0a594f4768af5c 100644 (file)
@@ -26,6 +26,8 @@
 #include "ircd.h"
 #include "send.h"
 
+static const char spy_desc[] = "Sends a notice when someone uses STATS";
+
 void show_stats(hook_data_int *);
 
 mapi_hfn_list_av1 stats_hfnlist[] = {
@@ -33,7 +35,7 @@ mapi_hfn_list_av1 stats_hfnlist[] = {
        {NULL, NULL}
 };
 
-DECLARE_MODULE_AV1(stats_spy, NULL, NULL, NULL, NULL, stats_hfnlist, "$Revision: 498 $");
+DECLARE_MODULE_AV2(stats_spy, NULL, NULL, NULL, NULL, stats_hfnlist, NULL, NULL, spy_desc);
 
 void
 show_stats(hook_data_int *data)