From: Adam D. <du...@in...> - 2001-11-17 13:40:29
|
Well, I was implementing an auto-join feature like this: (defun erc-channels-autojoin (proc parsed) (let ((host (elt parsed 1)) (nick (elt parsed 2)) (ajl erc-autojoin:channels)) ... My list looks like this: erc-autojoin:channels (list (list ".*\\.quakenet\\.org" "#spontanctf" "#toefte") (list "tu-ilmenau\\.de" "#fastmp3.info")) Btw, I hooked this function to `erc-server-376-hook' "End of /MOTD". It works fine with "irc.de.quakenet.org" - where the mode-line states the same as `erc-session-server' and the variable `host' I get by parsing "parsed". But there seems to be a problem with irc.tu-ilmenau.de: here the mode-line says "irc.tu-ilmenau.de" and so does erc-session-server; but I get "Tu-Ilmenau.DE" into the function `erc-channels-autojoin'. It wouldn't be that bad if a user - i.e. me - could see the server they are in to set `erc-autojoin:channels' but all they can see is the mode-line string which does not match the string I am given in the function. Can anyone help? Bye. Adam. -- Adam Duck (du...@cs...) Bockenheimer Landstr. 135 / Zi. 211 60325 Frankfurt/Main ______________________________________ Take my advice, I don't use it anyway. |