+2006-04-28 Michael Poole <mdpoole@troilus.org>
+
+ * doc/example.conf (Admin): Fix documentation of which line can be
+ listed twice.
+
+ * ircd/ircd_parser.y (adminblock): Allow admin information to be
+ changed via /rehash.
+
2006-04-06 Michael Poole <mdpoole@troilus.org>
* ircd/s_auth.c (start_auth): Add client to list after getting
# This sets information that can be retrieved with the /ADMIN command.
# It should contain at least an admin Email contact address.
Admin {
+ # At most two location lines are allowed...
Location = "The University of London";
- # At most two contact lines are allowed...
- Contact = "Undernet IRC server";
+ Location = "Undernet IRC server";
Contact = "IRC Admins <irc@london.ac.uk>";
};
MyFree($3);
};
-adminblock: ADMIN '{' adminitems '}' ';'
+adminblock: ADMIN
+{
+ MyFree(localConf.location1);
+ MyFree(localConf.location2);
+ MyFree(localConf.contact);
+ localConf.location1 = localConf.location2 = localConf.contact = NULL;
+}
+'{' adminitems '}' ';'
{
if (localConf.location1 == NULL)
DupString(localConf.location1, "");