]> jfr.im git - solanum.git/blobdiff - extensions/sno_globalnickchange.c
Merge pull request #302 from edk0/sasl-usercloak
[solanum.git] / extensions / sno_globalnickchange.c
index dd01d8f6c228d8d17397b210892f4583314e26e6..0e338c5cc785f809abfbd30e3799f2744e9a911a 100644 (file)
@@ -11,6 +11,9 @@
 #include "s_conf.h"
 #include "snomask.h"
 
+static const char sno_desc[] =
+       "Adds server notices for remote nick changes";
+
 static int _modinit(void);
 static void h_gnc_nick_change(hook_data *data);
 
@@ -19,13 +22,13 @@ mapi_hfn_list_av1 gcn_hfnlist[] = {
        { NULL, NULL }
 };
 
-DECLARE_MODULE_AV1(globalnickchange, _modinit, NULL, NULL, NULL, gcn_hfnlist, "$Revision: 1869 $");
+DECLARE_MODULE_AV2(globalnickchange, _modinit, NULL, NULL, NULL, gcn_hfnlist, NULL, NULL, sno_desc);
 
 static int
 _modinit(void)
 {
        /* show the fact that we are showing user information in /version */
-       opers_see_all_users = 1;
+       opers_see_all_users = true;
 
        return 0;
 }