]> andersk Git - moira.git/blobdiff - webmoira/mit/moira/MoiraServlet.java
Bugfix to add member functionality (broken when MoiraConnect was turned
[moira.git] / webmoira / mit / moira / MoiraServlet.java
index 5ad55ef5e34b6ec3201bf120f403cea7ee37c428..2604b9ca0e50912daadc968362e89f85fb5d58e4 100644 (file)
@@ -1009,8 +1009,6 @@ public class MoiraServlet extends HttpServlet {
            mc = connect();
            mc.proxy(kname);
            tk = new StreamTokenizer(new StringReader(member));
-           mc.done();
-           mc = null;
            tk.wordChars('@', '@');
            tk.wordChars('0', '9');
            tk.wordChars('_', '_');
@@ -1037,7 +1035,7 @@ public class MoiraServlet extends HttpServlet {
            if (!addheader)     // We didn't seem to be able to add anyone
                msg += "<tr><td>No one added!</td></tr>\r\n";
            msg += "</table>\r\n";
-           mc.disconnect();
+           mc.done();
            mc = null;
        } catch (MoiraException e) {
            if (tk != null)
This page took 0.049278 seconds and 4 git commands to generate.