]> jfr.im git - solanum.git/commitdiff
Update extensions/spy_* with AV2 descriptions.
authorElizabeth Myers <redacted>
Mon, 7 Mar 2016 10:09:14 +0000 (04:09 -0600)
committerElizabeth Myers <redacted>
Mon, 7 Mar 2016 10:09:14 +0000 (04:09 -0600)
extensions/spy_admin_notice.c
extensions/spy_info_notice.c
extensions/spy_links_notice.c
extensions/spy_motd_notice.c
extensions/spy_stats_notice.c
extensions/spy_stats_p_notice.c
extensions/spy_trace_notice.c

index 3bc706ac9755bc14e8e77765e3e13a9fbb3ba2a6..8d4770634c237f4567267ab2e6c5be4a8f1af29e 100644 (file)
@@ -26,6 +26,8 @@
 #include "ircd.h"
 #include "send.h"
 
+static const char spy_desc[] = "Sends a notice when someone uses ADMIN";
+
 void show_admin(hook_data *);
 
 mapi_hfn_list_av1 admin_hfnlist[] = {
@@ -33,7 +35,7 @@ mapi_hfn_list_av1 admin_hfnlist[] = {
        {NULL, NULL}
 };
 
-DECLARE_MODULE_AV2(admin_spy, NULL, NULL, NULL, NULL, admin_hfnlist, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(admin_spy, NULL, NULL, NULL, NULL, admin_hfnlist, NULL, NULL, spy_desc);
 
 void
 show_admin(hook_data *data)
index b23dfab366b3c4e29616f59fcd58b203e0e24435..01d6089585f2fff788cb519a8a1b18dcee0715bf 100644 (file)
@@ -26,6 +26,8 @@
 #include "ircd.h"
 #include "send.h"
 
+static const char spy_desc[] = "Sends a notice when someone uses INFO";
+
 void show_info(hook_data *);
 
 mapi_hfn_list_av1 info_hfnlist[] = {
@@ -33,7 +35,7 @@ mapi_hfn_list_av1 info_hfnlist[] = {
        {NULL, NULL}
 };
 
-DECLARE_MODULE_AV2(info_spy, NULL, NULL, NULL, NULL, info_hfnlist, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(info_spy, NULL, NULL, NULL, NULL, info_hfnlist, NULL, NULL, spy_desc);
 
 void
 show_info(hook_data *data)
index ffe718c6311b640bce8a921327367348bfea3fc7..17b5d0e905a35d82b366e224ae55a7fc91b2a25e 100644 (file)
@@ -26,6 +26,8 @@
 #include "ircd.h"
 #include "send.h"
 
+static const char spy_desc[] = "Sends a notice when someone uses LINKS";
+
 void show_links(hook_data *);
 
 mapi_hfn_list_av1 links_hfnlist[] = {
@@ -33,7 +35,7 @@ mapi_hfn_list_av1 links_hfnlist[] = {
        {NULL, NULL}
 };
 
-DECLARE_MODULE_AV2(links_spy, NULL, NULL, NULL, NULL, links_hfnlist, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(links_spy, NULL, NULL, NULL, NULL, links_hfnlist, NULL, NULL, spy_desc);
 
 void
 show_links(hook_data *data)
index 51471787a3883c75f173d731274416b979d0da98..1a6c123ed65324976c01b00ebe02f1af01b893b8 100644 (file)
@@ -26,6 +26,8 @@
 #include "ircd.h"
 #include "send.h"
 
+static const char spy_desc[] = "Sends a notice when someone looks at the MOTD";
+
 void show_motd(hook_data *);
 
 mapi_hfn_list_av1 motd_hfnlist[] = {
@@ -33,7 +35,7 @@ mapi_hfn_list_av1 motd_hfnlist[] = {
        {NULL, NULL}
 };
 
-DECLARE_MODULE_AV2(motd_spy, NULL, NULL, NULL, NULL, motd_hfnlist, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(motd_spy, NULL, NULL, NULL, NULL, motd_hfnlist, NULL, NULL, spy_desc);
 
 void
 show_motd(hook_data *data)
index 73c63e5c7df01d1fc00e2251cededf8598e2e7f2..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_AV2(stats_spy, NULL, NULL, NULL, NULL, stats_hfnlist, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(stats_spy, NULL, NULL, NULL, NULL, stats_hfnlist, NULL, NULL, spy_desc);
 
 void
 show_stats(hook_data_int *data)
index b5b4524d84bcc621007afb615ee18e3a32a3d638..c068a252e22dc39a70b1bd46250b7e12b2f8855f 100644 (file)
@@ -26,6 +26,8 @@
 #include "ircd.h"
 #include "send.h"
 
+static const char spy_desc[] = "Sends a notice when someone looks at the operator list";
+
 void show_stats_p(hook_data *);
 
 mapi_hfn_list_av1 stats_p_hfnlist[] = {
@@ -33,7 +35,7 @@ mapi_hfn_list_av1 stats_p_hfnlist[] = {
        {NULL, NULL}
 };
 
-DECLARE_MODULE_AV2(stats_p_spy, NULL, NULL, NULL, NULL, stats_p_hfnlist, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(stats_p_spy, NULL, NULL, NULL, NULL, stats_p_hfnlist, NULL, NULL, spy_desc);
 
 void
 show_stats_p(hook_data *data)
index d7f830fd8654588aeee56ea26379dfd2a2c6666f..e4f5e567a01138086927a8fdf8e145cbe25ed8c4 100644 (file)
@@ -26,6 +26,8 @@
 #include "ircd.h"
 #include "send.h"
 
+static const char spy_desc[] = "Sends a notice when someone uses TRACE or LTRACE";
+
 void show_trace(hook_data_client *);
 
 mapi_hfn_list_av1 trace_hfnlist[] = {
@@ -33,7 +35,7 @@ mapi_hfn_list_av1 trace_hfnlist[] = {
        {NULL, NULL}
 };
 
-DECLARE_MODULE_AV2(trace_spy, NULL, NULL, NULL, NULL, trace_hfnlist, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(trace_spy, NULL, NULL, NULL, NULL, trace_hfnlist, NULL, NULL, spy_desc);
 
 void
 show_trace(hook_data_client *data)