From: Francis L. <fli...@gm...> - 2006-03-14 16:49:33
|
In erc-networks.el (in the CVS sources), I see this code: (defun erc-set-network-name (proc parsed) "Set `erc-network' to the value returned by `erc-determine-network'." (unless erc-server-connected (setq erc-network (erc-determine-network))) nil) (add-hook 'erc-server-375-functions 'erc-set-network-name) (add-hook 'erc-server-422-functions 'erc-set-network-name) Shouldn't that "unless" be "if"? I mean, if erc-set-network-name is being called from those hooks, then we must be connected to the server? As I read it, erc-set-network-name will never call erc-determine-network. Am I missing something? -- Francis Litterio fli...@gm... http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. |