X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..6cac5cce0fedf3f0ed0de91d51539c8b8629fd9f:/extensions/spy_info_notice.c diff --git a/extensions/spy_info_notice.c b/extensions/spy_info_notice.c index 30539402..01d60895 100644 --- a/extensions/spy_info_notice.c +++ b/extensions/spy_info_notice.c @@ -18,8 +18,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: spy_info_notice.c 498 2006-01-15 16:40:33Z jilles $ */ #include "stdinc.h" #include "modules.h" @@ -28,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[] = { @@ -35,7 +35,7 @@ mapi_hfn_list_av1 info_hfnlist[] = { {NULL, NULL} }; -DECLARE_MODULE_AV1(info_spy, NULL, NULL, NULL, NULL, info_hfnlist, "$Revision: 498 $"); +DECLARE_MODULE_AV2(info_spy, NULL, NULL, NULL, NULL, info_hfnlist, NULL, NULL, spy_desc); void show_info(hook_data *data) @@ -43,5 +43,5 @@ show_info(hook_data *data) sendto_realops_snomask(SNO_SPY, L_ALL, "info requested by %s (%s@%s) [%s]", data->client->name, data->client->username, - data->client->host, data->client->user->server); + data->client->host, data->client->servptr->name); }