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 4945 by michael, Thu Nov 27 20:42:21 2014 UTC vs.
Revision 4963 by michael, Mon Dec 1 13:08:44 2014 UTC

# Line 823 | Line 823 | send_umode_out(struct Client *source_p,
823    send_umode(MyClient(source_p) ? source_p : NULL, source_p, old, buf);
824  
825    if (buf[0])
826 <    sendto_server(source_p, NOCAPS, NOCAPS, ":%s MODE %s :%s",
826 >    sendto_server(source_p, 0, 0, ":%s MODE %s :%s",
827                    source_p->id, source_p->id, buf);
828   }
829  
# Line 957 | Line 957 | oper_up(struct Client *source_p)
957  
958    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, "%s is now an operator",
959                         get_oper_name(source_p));
960 <  sendto_server(NULL, NOCAPS, NOCAPS, ":%s GLOBOPS :%s is now an operator",
960 >  sendto_server(NULL, 0, 0, ":%s GLOBOPS :%s is now an operator",
961                  me.id, get_oper_name(source_p));
962    send_umode_out(source_p, old);
963    sendto_one_numeric(source_p, &me, RPL_YOUREOPER);

Diff Legend

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