Show IRC Operator name when logging a successful OPER command

This commit is contained in:
Alexander Barton 2013-08-01 00:24:10 +02:00
parent 313881d0c1
commit 771e539c18
1 changed files with 2 additions and 2 deletions

View File

@ -98,8 +98,8 @@ IRC_OPER( CLIENT *Client, REQUEST *Req )
if (!Client_OperByMe(Client))
Log(LOG_NOTICE|LOG_snotice,
"Got valid OPER from \"%s\", user is an IRC operator now.",
Client_Mask(Client));
"Got valid OPER for \"%s\" from \"%s\", user is an IRC operator now.",
Req->argv[0], Client_Mask(Client));
Client_SetOperByMe(Client, true);
return IRC_WriteStrClient(Client, RPL_YOUREOPER_MSG, Client_ID(Client));