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 5489 by michael, Sun Feb 8 14:52:23 2015 UTC vs.
Revision 5558 by michael, Fri Feb 13 20:45:49 2015 UTC

# Line 913 | Line 913 | oper_up(struct Client *source_p)
913    if (HasOFlag(source_p, OPER_FLAG_ADMIN))
914      AddUMode(source_p, UMODE_ADMIN);
915  
916 +  if (!EmptyString(conf->whois))
917 +  {
918 +    client_attach_svstag(source_p, RPL_WHOISOPERATOR, "+", conf->whois);
919 +    sendto_server(source_p, 0, 0, ":%s SVSTAG %s %lu %u + :%s",
920 +                  me.id, source_p->id, (unsigned long)source_p->tsinfo,
921 +                  RPL_WHOISOPERATOR, conf->whois);
922 +  }
923 +
924    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, "%s is now an operator",
925                         get_oper_name(source_p));
926    sendto_server(NULL, 0, 0, ":%s GLOBOPS :%s is now an operator",

Diff Legend

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