mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-31 17:49:11 +00:00
Show IRC Operator name when logging a successful OPER command
This commit is contained in:
parent
313881d0c1
commit
771e539c18
@ -98,8 +98,8 @@ IRC_OPER( CLIENT *Client, REQUEST *Req )
|
|||||||
|
|
||||||
if (!Client_OperByMe(Client))
|
if (!Client_OperByMe(Client))
|
||||||
Log(LOG_NOTICE|LOG_snotice,
|
Log(LOG_NOTICE|LOG_snotice,
|
||||||
"Got valid OPER from \"%s\", user is an IRC operator now.",
|
"Got valid OPER for \"%s\" from \"%s\", user is an IRC operator now.",
|
||||||
Client_Mask(Client));
|
Req->argv[0], Client_Mask(Client));
|
||||||
|
|
||||||
Client_SetOperByMe(Client, true);
|
Client_SetOperByMe(Client, true);
|
||||||
return IRC_WriteStrClient(Client, RPL_YOUREOPER_MSG, Client_ID(Client));
|
return IRC_WriteStrClient(Client, RPL_YOUREOPER_MSG, Client_ID(Client));
|
||||||
|
Loading…
Reference in New Issue
Block a user