- if(( Client_Hops( c ) > 1 ) && ( Req->prefix[0] )) snprintf( str, sizeof( str ), "connected to %s, ", Client_ID( from ));
- else strcpy( str, "" );
- Log( LOG_NOTICE|LOG_snotice, "Server \"%s\" registered (via %s, %s%d hop%s).", Client_ID( c ), Client_ID( Client ), str, Client_Hops( c ), Client_Hops( c ) > 1 ? "s": "" );
+ if (Client_Hops(c) > 1 && Req->prefix[0])
+ snprintf(str, sizeof(str), "connected to %s, ",
+ Client_ID(from));
+ else
+ strcpy(str, "");
+ Log(LOG_NOTICE|LOG_snotice,
+ "Server \"%s\" registered (via %s, %s%d hop%s).",
+ Client_ID(c), Client_ID(Client), str, Client_Hops(c),
+ Client_Hops(c) > 1 ? "s": "" );