Join script should rule out retired usernames
[bpt/portal.git] / ip.mlt
diff --git a/ip.mlt b/ip.mlt
index c928981..c849e1f 100644 (file)
--- a/ip.mlt
+++ b/ip.mlt
@@ -52,6 +52,7 @@ iface eth0:N inet static
 Listen 69.90.123.NNN:443</pre></blockquote></li>
            <li> Run <tt>ifup eth0:<i>N</i></tt>.
           <li> Restart Apache with <tt>/etc/init.d/apache2 restart</tt>.</li>
+          <li> Run <tt>domtool-admin grant <i><% name %></i> ip 69.90.123.<i>NNN</i></tt>
        </ol>
 <% end %>
 
@@ -114,10 +115,8 @@ elseif $"mod" <> "" then
        val oldStatus = #status req;
        val newStatus = Ip.statusFromInt (Web.stoi ($"status"));
        Ip.modify {req with node = node, data = $"port", msg = $"msg", status = newStatus};
-       if oldStatus <> newStatus then
-               if not (Ip.notifyMod {old = oldStatus, new = newStatus, changer = Init.getUserName(), req = id}) then
-                       %><h3>Error sending e-mail notification</h3><%
-               end
+       if not (Ip.notifyMod {old = oldStatus, new = newStatus, changer = Init.getUserName(), req = id}) then
+               %><h3>Error sending e-mail notification</h3><%
        end
        %><h3>Request modified</h3>
        Back to: <a href="ip?cmd=open">open requests</a>, <a href="ip?cmd=list">all requests</a>