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

Comparing ircd-hybrid/trunk/src/user.c (file contents):
Revision 3724 by michael, Sat May 31 16:27:09 2014 UTC vs.
Revision 3944 by michael, Mon Jun 16 18:04:03 2014 UTC

# Line 127 | Line 127 | const unsigned int user_modes[256] =
127    UMODE_WALLOP,       /* w */
128    UMODE_HIDDENHOST,   /* x */
129    UMODE_SPY,          /* y */
130 <  UMODE_OPERWALL,     /* z      0x7A */
130 >  0,                  /* z      0x7A */
131    0,0,0,0,0,          /* 0x7B - 0x7F */
132  
133    /* 0x80 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 0x8F */
# Line 175 | Line 175 | show_lusers(struct Client *source_p)
175    if (dlink_list_length(&unknown_list))
176      sendto_one_numeric(source_p, &me, RPL_LUSERUNKNOWN, dlink_list_length(&unknown_list));
177  
178 <  if (dlink_list_length(&global_channel_list))
179 <    sendto_one_numeric(source_p, &me, RPL_LUSERCHANNELS, dlink_list_length(&global_channel_list));
178 >  if (dlink_list_length(&channel_list))
179 >    sendto_one_numeric(source_p, &me, RPL_LUSERCHANNELS, dlink_list_length(&channel_list));
180  
181    if (!ConfigServerHide.hide_servers || HasUMode(source_p, UMODE_OPER))
182    {
# Line 722 | Line 722 | valid_hostname(const char *hostname)
722   int
723   valid_username(const char *username, const int local)
724   {
725 <  int dots      = 0;
725 >  unsigned int dots = 0;
726    const char *p = username;
727  
728    assert(p);
# Line 1122 | Line 1122 | void
1122   add_isupport(const char *name, const char *options, int n)
1123   {
1124    dlink_node *ptr;
1125 <  struct Isupport *support;
1125 >  struct Isupport *support = NULL;
1126  
1127    DLINK_FOREACH(ptr, support_list.head)
1128    {

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)