瀏覽代碼

The WHOIS has never let me down

Literally never failed. The confusion is, it'll sometimes fail if you
WHOIS from their osu! username, but never from the IRC username.
IRC usernames never conflict, since they're assigned when you connect.
Clément Wolf 9 月之前
父節點
當前提交
92425b5fd3
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      bancho.js

+ 0 - 5
bancho.js

@@ -296,11 +296,6 @@ class BanchoClient extends EventEmitter {
   }
 
   // (async) Get a user ID from an IRC username.
-  //
-  // Avoid using this whenever possible, since a IRC username can sometimes
-  // resolve to multiple players, and idk what happens in that case.
-  //
-  // Intentionally fails after 5 seconds just in case.
   whois(irc_username) {
     return new Promise((resolve, reject) => {
       if (irc_username.indexOf(' ') != -1) {