]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-login.c
Cosmetic whitespace and line length fixes, mostly in Send_Message().
[ngircd-alex.git] / src / ngircd / irc-login.c
index e94b62fe00e35d01789e9382bfc533d4d0fd15d6..362a133c858518b7ee0640d1cc3ac96addaf1026 100644 (file)
@@ -256,13 +256,13 @@ IRC_NICK( CLIENT *Client, REQUEST *Req )
                else
                {
                        /* Nickname change */
-                       if( Client_Conn( target ) > NONE )
-                       {
+                       if (Client_Conn(target) > NONE) {
                                /* Local client */
-                               Log( LOG_INFO,
-                                    "User \"%s\" changed nick (connection %d): \"%s\" -> \"%s\".",
-                                    Client_Mask( target ), Client_Conn( target ),
-                                    Client_ID( target ), Req->argv[0] );
+                               Log(LOG_INFO,
+                                   "User \"%s\" changed nick (connection %d): \"%s\" -> \"%s\".",
+                                   Client_Mask(target), Client_Conn(target),
+                                   Client_ID(target), Req->argv[0]);
+                               Conn_UpdateIdle(Client_Conn(target));
                        }
                        else
                        {