From: jis Date: Wed, 24 Oct 2001 01:10:50 +0000 (+0000) Subject: Bugfix to add member functionality (broken when MoiraConnect was turned X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/e51a431f666daf499d875405dfa718606f01e44a Bugfix to add member functionality (broken when MoiraConnect was turned into Moira). --- diff --git a/webmoira/mit/moira/MoiraServlet.java b/webmoira/mit/moira/MoiraServlet.java index 5ad55ef5..2604b9ca 100644 --- a/webmoira/mit/moira/MoiraServlet.java +++ b/webmoira/mit/moira/MoiraServlet.java @@ -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 += "No one added!\r\n"; msg += "\r\n"; - mc.disconnect(); + mc.done(); mc = null; } catch (MoiraException e) { if (tk != null)