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 3154 by michael, Mon Mar 10 21:11:25 2014 UTC vs.
Revision 3155 by michael, Fri Mar 14 16:59:17 2014 UTC

# Line 965 | Line 965 | send_umode_out(struct Client *client_p,
965    send_umode(NULL, source_p, old, SEND_UMODES, buf);
966  
967    if (buf[0])
968 <  {
969 <    DLINK_FOREACH(ptr, serv_list.head)
970 <    {
971 <      struct Client *target_p = ptr->data;
972 <
973 <      if ((target_p != client_p) && (target_p != source_p))
974 <        sendto_one(target_p, ":%s MODE %s :%s",
975 <                   ID_or_name(source_p, target_p),
976 <                   ID_or_name(source_p, target_p), buf);
977 <    }
978 <  }
968 >    sendto_server(source_p, NOCAPS, NOCAPS, ":%s MODE %s :%s",
969 >                  ID(source_p), ID(source_p), buf);
970  
971    if (client_p && MyClient(client_p))
972      send_umode(client_p, source_p, old, 0xffffffff, buf);

Diff Legend

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