Browse Source

IRCClient: Fix broken handling of RPL_WHOISIDLE.

Andreas Kling 6 years ago
parent
commit
c151b0370d
1 changed files with 1 additions and 1 deletions
  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;
     auto& nick = msg.arguments[1];
     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)