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

Comparing ircd-hybrid/branches/8.2.x/src/user.c (file contents):
Revision 8062 by michael, Thu Mar 23 17:13:05 2017 UTC vs.
Revision 8209 by michael, Sun Apr 16 10:45:01 2017 UTC

# Line 83 | Line 83 | const struct user_modes  umode_tab[] =
83    { 's', UMODE_SERVNOTICE   },
84    { 'u', UMODE_UNAUTH       },
85    { 'w', UMODE_WALLOP       },
86  { 'x', UMODE_HIDDENHOST   },
86    { 'y', UMODE_SPY          },
87    { '\0', 0 }
88   };
# Line 706 | Line 705 | send_umode_out(struct Client *client_p,
705   }
706  
707   void
708 < user_set_hostmask(struct Client *client_p, const char *hostname, const int what)
708 > user_set_hostmask(struct Client *client_p, const char *hostname)
709   {
710    dlink_node *node;
711  
712    if (!strcmp(client_p->host, hostname))
713      return;
714  
716  switch (what)
717  {
718    case MODE_ADD:
719      AddUMode(client_p, UMODE_HIDDENHOST);
720      break;
721    case MODE_DEL:
722      DelUMode(client_p, UMODE_HIDDENHOST);
723      break;
724    default: return;
725  }
726
715    if (ConfigGeneral.cycle_on_host_change)
716      sendto_common_channels_local(client_p, 0, 0, CAP_CHGHOST, ":%s!%s@%s QUIT :Changing hostname",
717                                   client_p->name, client_p->username, client_p->host);

Diff Legend

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