Browse Source

Support passwords

Fixes issue 3113

Change-Id: I5d6c28039ac104f6809e5a4cc97da2dd5da1931c
Reviewed-on: http://gerrit.dmdirc.com/77
Reviewed-by: Gregory Holmes <greboid@dmdirc.com>
Tested-by: Gregory Holmes <greboid@dmdirc.com>
tags/0.6.3
Chris Smith 14 years ago
parent
commit
44f924caa0
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/com/dmdirc/parser/irc/ServerInfo.java

+ 2
- 2
src/com/dmdirc/parser/irc/ServerInfo.java View File

79
      * the specified URI.
79
      * the specified URI.
80
      *
80
      *
81
      * @param uri The URI of the server
81
      * @param uri The URI of the server
82
-     * @since 0.6.4
82
+     * @since 0.6.3
83
      */
83
      */
84
     public ServerInfo(final URI uri) {
84
     public ServerInfo(final URI uri) {
85
         host = uri.getHost();
85
         host = uri.getHost();
89
             setSSL(true);
89
             setSSL(true);
90
         }
90
         }
91
 
91
 
92
-        // TODO (uris): Parse passwords
92
+        password = uri.getUserInfo() == null ? "" : uri.getUserInfo();
93
     }
93
     }
94
     
94
     
95
     /**
95
     /**

Loading…
Cancel
Save