ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/branches/newio/src/s_user.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/s_user.c (file contents):
Revision 891 by michael, Thu Nov 1 13:44:50 2007 UTC vs.
Revision 896 by michael, Sat Nov 3 08:54:09 2007 UTC

# Line 43 | Line 43
43   #include "s_conf.h"
44   #include "s_log.h"
45   #include "s_serv.h"
46 #include "s_stats.h"
46   #include "send.h"
47   #include "supported.h"
48   #include "whowas.h"
# Line 337 | Line 336 | register_local_user(struct Client *clien
336  
337      if (IsNeedIdentd(aconf))
338      {
339 <      ServerStats->is_ref++;
339 >      ++ServerStats.is_ref;
340        sendto_one(source_p, ":%s NOTICE %s :*** Notice -- You need to install "
341                   "identd to use this server", me.name, source_p->name);
342        exit_client(source_p, &me, "Install identd");
# Line 366 | Line 365 | register_local_user(struct Client *clien
365  
366      if (!match_conf_password(pass, aconf))
367      {
368 <      ServerStats->is_ref++;
368 >      ++ServerStats.is_ref;
369        sendto_one(source_p, form_str(ERR_PASSWDMISMATCH),
370                   me.name, source_p->name);
371        exit_client(source_p, &me, "Bad Password");
# Line 396 | Line 395 | register_local_user(struct Client *clien
395      sendto_realops_flags(UMODE_FULL, L_ALL,
396                           "Too many clients, rejecting %s[%s].",
397                           nick, source_p->host);
398 <    ServerStats->is_ref++;
398 >    ++ServerStats.is_ref;
399      exit_client(source_p, &me, "Sorry, server is full - try later");
400      return;
401    }
# Line 408 | Line 407 | register_local_user(struct Client *clien
407  
408      sendto_realops_flags(UMODE_REJ, L_ALL, "Invalid username: %s (%s@%s)",
409                           nick, source_p->username, source_p->host);
410 <    ServerStats->is_ref++;
410 >    ++ServerStats.is_ref;
411      ircsprintf(tmpstr2, "Invalid username [%s]", source_p->username);
412      exit_client(source_p, &me, tmpstr2);
413      return;
# Line 1205 | Line 1204 | check_xline(struct Client *source_p)
1204                           get_client_name(source_p, HIDE_IP),
1205                           source_p->sockhost);
1206  
1207 <    ServerStats->is_ref++;
1207 >    ++ServerStats.is_ref;
1208      if (REJECT_HOLD_TIME > 0)
1209      {
1210        sendto_one(source_p, ":%s NOTICE %s :Bad user info",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines