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", |