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/s_user.c (file contents):
Revision 1857 by michael, Wed Apr 24 20:47:21 2013 UTC vs.
Revision 1921 by michael, Tue Apr 30 14:54:20 2013 UTC

# Line 954 | Line 954 | set_user_mode(struct Client *client_p, s
954      sendto_one(source_p, form_str(ERR_UMODEUNKNOWNFLAG),
955                 me.name, source_p->name);
956  
957  if (HasUMode(source_p, UMODE_NCHANGE) && !HasOFlag(source_p, OPER_FLAG_N))
958  {
959    sendto_one(source_p, ":%s NOTICE %s :*** You have no nchange flag;",
960               me.name, source_p->name);
961    DelUMode(source_p, UMODE_NCHANGE);
962  }
963
957    if (MyConnect(source_p) && HasUMode(source_p, UMODE_ADMIN) &&
958        !HasOFlag(source_p, OPER_FLAG_ADMIN))
959    {
# Line 1120 | Line 1113 | user_welcome(struct Client *source_p)
1113   #endif
1114  
1115    sendto_one(source_p, form_str(RPL_WELCOME), me.name, source_p->name,
1116 <             ServerInfo.network_name, source_p->name);
1116 >             ServerInfo.network_name, source_p->name,
1117 >             source_p->username, source_p->host);
1118    sendto_one(source_p, form_str(RPL_YOURHOST), me.name, source_p->name,
1119               get_listener_name(source_p->localClient->listener), ircd_version);
1120    sendto_one(source_p, form_str(RPL_CREATED),
# Line 1166 | Line 1160 | check_xline(struct Client *source_p)
1160    struct MaskItem *conf = NULL;
1161    const char *reason = NULL;
1162  
1163 <  if ((conf = find_matching_name_conf(CONF_XLINE, source_p->info, NULL, NULL, 0)) ||
1170 <      (conf = find_matching_name_conf(CONF_RXLINE, source_p->info, NULL, NULL, 0)))
1163 >  if ((conf = find_matching_name_conf(CONF_XLINE, source_p->info, NULL, NULL, 0)))
1164    {
1165      ++conf->count;
1166  
# Line 1226 | Line 1219 | oper_up(struct Client *source_p)
1219  
1220    if (HasOFlag(source_p, OPER_FLAG_ADMIN))
1221      AddUMode(source_p, UMODE_ADMIN);
1229  if (!HasOFlag(source_p, OPER_FLAG_N))
1230    DelUMode(source_p, UMODE_NCHANGE);
1222  
1223    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, "%s is now an operator",
1224                         get_oper_name(source_p));

Diff Legend

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