]> jfr.im git - solanum.git/blobdiff - modules/m_set.c
make more snotes L_NETWIDE
[solanum.git] / modules / m_set.c
index 34bdea2e5b66ef7ba74e06aa57e9c9cf444aeb5a..95114fdd2aa4c680571e99aa4e132432a30d7d63 100644 (file)
@@ -154,7 +154,7 @@ quote_autoconnall(struct Client *source_p, const char *arg, int newval)
 {
        if(newval >= 0)
        {
-               sendto_realops_snomask(SNO_GENERAL, L_ALL, "%s has changed AUTOCONNALL to %i",
+               sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "%s has changed AUTOCONNALL to %i",
                                     source_p->name, newval);
 
                GlobalSetOptions.autoconn = newval;
@@ -174,7 +174,7 @@ quote_floodcount(struct Client *source_p, const char *arg, int newval)
        if(newval >= 0)
        {
                GlobalSetOptions.floodcount = newval;
-               sendto_realops_snomask(SNO_GENERAL, L_ALL,
+               sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                     "%s has changed FLOODCOUNT to %i", source_p->name,
                                     GlobalSetOptions.floodcount);
        }
@@ -198,7 +198,7 @@ quote_identtimeout(struct Client *source_p, const char *arg, int newval)
 
        if(newval > 0)
        {
-               sendto_realops_snomask(SNO_GENERAL, L_ALL,
+               sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                     "%s has changed IDENTTIMEOUT to %d",
                                     get_oper_name(source_p), newval);
                GlobalSetOptions.ident_timeout = newval;
@@ -232,7 +232,7 @@ quote_max(struct Client *source_p, const char *arg, int newval)
 
                GlobalSetOptions.maxclients = newval;
 
-               sendto_realops_snomask(SNO_GENERAL, L_ALL,
+               sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                     "%s!%s@%s set new MAXCLIENTS to %d (%lu current)",
                                     source_p->name, source_p->username, source_p->host,
                                     GlobalSetOptions.maxclients,
@@ -260,7 +260,7 @@ quote_operstring(struct Client *source_p, const char *arg, int newval)
                rb_strlcpy(GlobalSetOptions.operstring, arg,
                        sizeof(GlobalSetOptions.operstring));
 
-               sendto_realops_snomask(SNO_GENERAL, L_ALL,
+               sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                     "%s has changed OPERSTRING to '%s'",
                                     get_oper_name(source_p), arg);
        }
@@ -279,7 +279,7 @@ quote_adminstring(struct Client *source_p, const char *arg, int newval)
                rb_strlcpy(GlobalSetOptions.adminstring, arg,
                        sizeof(GlobalSetOptions.adminstring));
 
-               sendto_realops_snomask(SNO_GENERAL, L_ALL,
+               sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                     "%s has changed ADMINSTRING to '%s'",
                                     get_oper_name(source_p), arg);
        }
@@ -293,7 +293,7 @@ quote_spamnum(struct Client *source_p, const char *arg, int newval)
        {
                if(newval == 0)
                {
-                       sendto_realops_snomask(SNO_GENERAL, L_ALL,
+                       sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                             "%s has disabled ANTI_SPAMBOT", source_p->name);
                        GlobalSetOptions.spam_num = newval;
                        return;
@@ -306,7 +306,7 @@ quote_spamnum(struct Client *source_p, const char *arg, int newval)
                {
                        GlobalSetOptions.spam_num = newval;
                }
-               sendto_realops_snomask(SNO_GENERAL, L_ALL, "%s has changed SPAMNUM to %i",
+               sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "%s has changed SPAMNUM to %i",
                                     source_p->name, GlobalSetOptions.spam_num);
        }
        else
@@ -329,7 +329,7 @@ quote_spamtime(struct Client *source_p, const char *arg, int newval)
                {
                        GlobalSetOptions.spam_time = newval;
                }
-               sendto_realops_snomask(SNO_GENERAL, L_ALL, "%s has changed SPAMTIME to %i",
+               sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "%s has changed SPAMTIME to %i",
                                     source_p->name, GlobalSetOptions.spam_time);
        }
        else
@@ -372,7 +372,7 @@ quote_splitmode(struct Client *source_p, const char *charval, int intval)
                /* OFF */
                if(newval == 0)
                {
-                       sendto_realops_snomask(SNO_GENERAL, L_ALL,
+                       sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                             "%s is disabling splitmode", get_oper_name(source_p));
 
                        splitmode = false;
@@ -384,7 +384,7 @@ quote_splitmode(struct Client *source_p, const char *charval, int intval)
                /* ON */
                else if(newval == 1)
                {
-                       sendto_realops_snomask(SNO_GENERAL, L_ALL,
+                       sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                             "%s is enabling and activating splitmode",
                                             get_oper_name(source_p));
 
@@ -398,7 +398,7 @@ quote_splitmode(struct Client *source_p, const char *charval, int intval)
                /* AUTO */
                else if(newval == 2)
                {
-                       sendto_realops_snomask(SNO_GENERAL, L_ALL,
+                       sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                             "%s is enabling automatic splitmode",
                                             get_oper_name(source_p));
 
@@ -421,7 +421,7 @@ quote_splitnum(struct Client *source_p, const char *arg, int newval)
 {
        if(newval >= 0)
        {
-               sendto_realops_snomask(SNO_GENERAL, L_ALL,
+               sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                     "%s has changed SPLITNUM to %i", source_p->name, newval);
                split_servers = newval;
 
@@ -438,7 +438,7 @@ quote_splitusers(struct Client *source_p, const char *arg, int newval)
 {
        if(newval >= 0)
        {
-               sendto_realops_snomask(SNO_GENERAL, L_ALL,
+               sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
                                     "%s has changed SPLITUSERS to %i", source_p->name, newval);
                split_users = newval;