From: It's me F. ;) <m_...@ya...> - 2005-09-01 04:51:25
|
Dear groups, The orginal `erc-send-ctcp-command' invoke the `erc-send-command' with just two parameters. This cause the `erc-send-command' always encode CTCP message with default encoding. The following patch add a third parmaeter (erc-default-target) to the `erc-send-command', which in most case will fit the needs of encode the CTCP message in the correct encoding. Best Regards FKtPp *** erc.el 14 八月 2005 21:48:47 +0800 1.769 --- erc.el 01 九月 2005 12:10:48 +0800 *************** *** 2610,2616 **** (cond (tgt (erc-log (format "erc-send-CTCP-message: [%s] %s" tgt l)) ! (erc-send-command (format "PRIVMSG %s :\C-a%s\C-a" tgt l) force))))) (defun erc-send-ctcp-notice (tgt l &optional force) "Send CTCP notice L to TGT. --- 2610,2616 ---- (cond (tgt (erc-log (format "erc-send-CTCP-message: [%s] %s" tgt l)) ! (erc-send-command (format "PRIVMSG %s :\C-a%s\C-a" tgt l) force (erc-default-target)))))) (defun erc-send-ctcp-notice (tgt l &optional force) "Send CTCP notice L to TGT. |