]> jfr.im git - solanum.git/blobdiff - extensions/sno_farconnect.c
Use opernames not servernames for remote opers
[solanum.git] / extensions / sno_farconnect.c
index 03877b41c6b6c871961721c2f52acbaf875a8d81..7878065882c5f6ddd796733bc7bcd09fd5a7057a 100644 (file)
@@ -4,8 +4,6 @@
  * Consequently, it is not possible to use these notices to keep track
  * of all clients.
  * -- jilles
- *
- * $Id: sno_farconnect.c 1869 2006-08-27 14:24:25Z jilles $
  */
 
 #include "stdinc.h"
@@ -17,6 +15,9 @@
 #include "s_conf.h"
 #include "snomask.h"
 
+static const char sno_desc[] =
+       "Adds server notice mask +F that allows operators to receive notices for connections on other servers";
+
 static int _modinit(void);
 static void _moddeinit(void);
 static void h_gcn_new_remote_user(struct Client *);
@@ -28,7 +29,7 @@ mapi_hfn_list_av1 gcn_hfnlist[] = {
        { NULL, NULL }
 };
 
-DECLARE_MODULE_AV1(globalconnexit, _modinit, _moddeinit, NULL, NULL, gcn_hfnlist, "$Revision: 1869 $");
+DECLARE_MODULE_AV2(globalconnexit, _modinit, _moddeinit, NULL, NULL, gcn_hfnlist, NULL, NULL, sno_desc);
 
 static int
 _modinit(void)
@@ -37,7 +38,7 @@ _modinit(void)
        snomask_modes['F'] = find_snomask_slot();
 
        /* show the fact that we are showing user information in /version */
-       opers_see_all_users = 1;
+       opers_see_all_users = true;
 
        return 0;
 }