Parcourir la source

-Unick is unreliable. You can use nick+bad PW

and harry will address you with the wrong name.
(You could use it to get the real name from
someone's nick.)

Anyway, don't use it, it doesn't work 100%.
bugz il y a 4 ans
Parent
commit
fffa2aea19
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      hharry.cpp

+ 4 - 0
hharry.cpp

@@ -327,9 +327,13 @@ int main(int argc, char *argv[]) {
   // Locate username (if given) in the command line
   // -U<username>
   for (int x = 0; x < argc; x++) {
+    /*
+    // This doesn't work:  You can give username + wrong password.
+    // You will be identified as the wrong user at the login screen!
     if (strncmp("-U", argv[x], 2) == 0) {
       username.assign(argv[x] + 2);
     }
+    */
     /* Changed in latest version
     if (strncmp("-SL", argv[x], 3) == 0) {
       node = atoi(argv[x] + 3) + 1;