ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_set.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/m_set.c (file contents):
Revision 5881 by michael, Sun May 3 16:04:15 2015 UTC vs.
Revision 6318 by michael, Wed Aug 5 16:04:43 2015 UTC

# Line 52 | Line 52 | quote_autoconn(struct Client *source_p,
52        else
53          ClearConfAllowAutoConn(conf);
54  
55 <      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
55 >      sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
56                             "%s has changed AUTOCONN for %s to %i",
57                             get_oper_name(source_p), arg, newval);
58        sendto_one_notice(source_p, &me, ":AUTOCONN for %s is now set to %i",
# Line 71 | Line 71 | quote_autoconnall(struct Client *source_
71   {
72    if (newval >= 0)
73    {
74 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
74 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
75                           "%s has changed AUTOCONNALL to %i",
76                           get_oper_name(source_p), newval);
77  
# Line 89 | Line 89 | quote_floodcount(struct Client *source_p
89    if (newval >= 0)
90    {
91      GlobalSetOptions.floodcount = newval;
92 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
92 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
93                           "%s has changed FLOODCOUNT to %i",
94                           get_oper_name(source_p), GlobalSetOptions.floodcount);
95    }
# Line 110 | Line 110 | quote_identtimeout(struct Client *source
110  
111    if (newval > 0)
112    {
113 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
113 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
114                           "%s has changed IDENTTIMEOUT to %d",
115                           get_oper_name(source_p), newval);
116      GlobalSetOptions.ident_timeout = newval;
# Line 142 | Line 142 | quote_max(struct Client *source_p, const
142  
143      GlobalSetOptions.maxclients = newval;
144  
145 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
145 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
146          "%s set new MAXCLIENTS to %d (%d current)",
147          get_oper_name(source_p), GlobalSetOptions.maxclients, Count.local);
148    }
# Line 159 | Line 159 | quote_spamnum(struct Client *source_p, c
159    {
160      if (newval == 0)
161      {
162 <      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
162 >      sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
163                             "%s has disabled ANTI_SPAMBOT", source_p->name);
164        GlobalSetOptions.spam_num = newval;
165        return;
166      }
167  
168      GlobalSetOptions.spam_num = IRCD_MAX(newval, MIN_SPAM_NUM);
169 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
169 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
170                           "%s has changed SPAMNUM to %i",
171                           get_oper_name(source_p), GlobalSetOptions.spam_num);
172    }
# Line 182 | Line 182 | quote_spamtime(struct Client *source_p,
182    if (newval > 0)
183    {
184      GlobalSetOptions.spam_time = IRCD_MAX(newval, MIN_SPAM_TIME);
185 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
185 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
186                           "%s has changed SPAMTIME to %i",
187                           get_oper_name(source_p), GlobalSetOptions.spam_time);
188    }
# Line 225 | Line 225 | quote_splitmode(struct Client *source_p,
225      /* OFF */
226      if (newval == 0)
227      {
228 <      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
228 >      sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
229                             "%s is disabling splitmode",
230                             get_oper_name(source_p));
231  
# Line 237 | Line 237 | quote_splitmode(struct Client *source_p,
237      /* ON */
238      else if (newval == 1)
239      {
240 <      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
240 >      sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
241                             "%s is enabling and activating splitmode",
242                             get_oper_name(source_p));
243  
# Line 250 | Line 250 | quote_splitmode(struct Client *source_p,
250      /* AUTO */
251      else if (newval == 2)
252      {
253 <      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
253 >      sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
254                             "%s is enabling automatic splitmode",
255                             get_oper_name(source_p));
256  
# Line 273 | Line 273 | quote_splitnum(struct Client *source_p,
273   {
274    if (newval >= 0)
275    {
276 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
276 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
277                           "%s has changed SPLITNUM to %i",
278                           get_oper_name(source_p), newval);
279      split_servers = newval;
# Line 292 | Line 292 | quote_splitusers(struct Client *source_p
292   {
293    if (newval >= 0)
294    {
295 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
295 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
296                           "%s has changed SPLITUSERS to %i",
297                           get_oper_name(source_p), newval);
298      split_users = newval;
# Line 311 | Line 311 | quote_jfloodtime(struct Client *source_p
311   {
312    if (newval >= 0)
313    {
314 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
314 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
315                           "%s has changed JFLOODTIME to %i",
316                           get_oper_name(source_p), newval);
317      GlobalSetOptions.joinfloodtime = newval;
# Line 327 | Line 327 | quote_jfloodcount(struct Client *source_
327   {
328    if (newval >= 0)
329    {
330 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
330 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
331                           "%s has changed JFLOODCOUNT to %i",
332                           get_oper_name(source_p), newval);
333      GlobalSetOptions.joinfloodcount = newval;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines