caseification fix
[org.ibex.mail.git] / src / org / ibex / mail / protocol / NNTP.java
index 862d375..3f1eb9b 100644 (file)
@@ -133,7 +133,7 @@ public class NNTP {
                 StringTokenizer st = new StringTokenizer(line, " ");
                 String command = st.nextToken().toUpperCase();
                 if (command.equals("AUTHINFO")) {
-                    String uop = st.nextToken();
+                    String uop = st.nextToken().toUpperCase();
                     if (uop.equals("USER")) user = st.nextToken();
                     else if (uop.equals("PASS")) pass = st.nextToken();
                     // FIXME error here