]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Show IRC Operator name when logging a successful OPER command
authorAlexander Barton <alex@barton.de>
Wed, 31 Jul 2013 22:24:10 +0000 (00:24 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 31 Jul 2013 22:24:10 +0000 (00:24 +0200)
src/ngircd/irc-oper.c

index 237107f69b8f56c828f212122da415cee247ba1b..29953a110606090d7abf9799543e5e6ba21e1a27 100644 (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));