|
From: <di...@us...> - 2004-03-09 05:02:09
|
Hi all, > erc-current-network has never really done the right thing for > most domains. The regex approach just doesn't cut it. While For all those needing to know which IRC network ERC is connected to, I hope to have made things easier. I've just commited changes to erc-nickserv.el, erc-nets.el, and erc.el that deal with determining which network the user is on, and I've applied Lawrence's patch to the new function `erc-determine-network' in erc-nets.el. (eq (erc-network) 'Network) is all you should need now for testing. To add a new network, use: (add-to-list 'erc-networks-alist '(Network "irc.server-name.net")) Users of ErcNickserv should note that we are using `erc-network-alist' instead of `erc-networks', which has been removed - note also that `erc-network-alist' has the format (NETWORK SERVER-NAME) and not (SERVER-NAME NETWORK) as you're used to. More details are in the CVS commit logs and in the files' documentation. I've tested this all pretty extensively and it's working fine for me, but if you have any problems or notice any bugs, let me know. -- disumu |