git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1246
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2004-10-16 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/m_server.c: Look up server configuration by name of our
+ directly connected peer rather than the server being introduced.
+
2004-10-13 Michael Poole <mdpoole@troilus.org>
* include/channel.h: Delete MODE_LISTED and is_listed(). Replace
/*
* Calculate type of connect limit and applicable config item.
*/
- lhconf = find_conf_byname(cli_confs(cptr), host, CONF_SERVER);
+ lhconf = find_conf_byname(cli_confs(cptr), cli_name(cptr), CONF_SERVER);
assert(lhconf != NULL);
if (cptr == sptr)
{