diff options
| author | Alexander Barton <alex@barton.de> | 2013-08-01 00:24:10 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2013-08-01 00:24:10 +0200 |
| commit | 771e539c18669d6c20b557be79675b94ca191c59 (patch) | |
| tree | a41eccd54b6dfd46d44de47d618e134189b4ab62 | |
| parent | 313881d0c1466e6b8f52b4456b66a2477ccba9cf (diff) | |
| download | ngircd-771e539c18669d6c20b557be79675b94ca191c59.tar.gz ngircd-771e539c18669d6c20b557be79675b94ca191c59.zip | |
Show IRC Operator name when logging a successful OPER command
| -rw-r--r-- | src/ngircd/irc-oper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/irc-oper.c b/src/ngircd/irc-oper.c index 237107f6..29953a11 100644 --- a/src/ngircd/irc-oper.c +++ b/src/ngircd/irc-oper.c @@ -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)); |