]> jfr.im git - solanum.git/blobdiff - extensions/sno_globalnickchange.c
Merge pull request #288 from edk0/umode-o-split
[solanum.git] / extensions / sno_globalnickchange.c
index 17ef37cd6b20b622be66ac8de07bba7d8774b21d..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,16 +22,13 @@ mapi_hfn_list_av1 gcn_hfnlist[] = {
        { NULL, NULL }
 };
 
-static const char sno_desc[] =
-       "Adds server notices for remote nick changes";
-
 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;
 }