Преглед изворни кода

-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 пре 4 година
родитељ
комит
fffa2aea19
1 измењених фајлова са 4 додато и 0 уклоњено
  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;