Explorar o código

IRCClient: Fix broken handling of RPL_WHOISIDLE.

Andreas Kling %!s(int64=6) %!d(string=hai) anos
pai
achega
c151b0370d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Applications/IRCClient/IRCClient.cpp

+ 1 - 1
Applications/IRCClient/IRCClient.cpp

@@ -468,7 +468,7 @@ void IRCClient::handle_rpl_whoisidle(const Message& msg)
         return;
         return;
     auto& nick = msg.arguments[1];
     auto& nick = msg.arguments[1];
     auto& secs = msg.arguments[2];
     auto& secs = msg.arguments[2];
-    add_server_message(String::format("* %s is %d seconds idle", nick.characters(), secs.characters()));
+    add_server_message(String::format("* %s is %s seconds idle", nick.characters(), secs.characters()));
 }
 }
 
 
 void IRCClient::handle_rpl_whoischannels(const Message& msg)
 void IRCClient::handle_rpl_whoischannels(const Message& msg)