Procházet zdrojové kódy

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 před 9 měsíci
rodič
revize
92425b5fd3
1 změnil soubory, kde provedl 0 přidání a 5 odebrání
  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) {