freetalk-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetalk-dev] message send hook


From: Anand Babu
Subject: Re: [Freetalk-dev] message send hook
Date: Sat, 15 Oct 2005 16:17:21 -0700 (PDT)
User-agent: SquirrelMail/1.4.4

,----[ Vikas Gorur <address@hidden> ]
| commands.c:do_send_message has
|
| if (get_hook_return () == 1)
|     return LM_HANDLER_RESULT_REMOVE_MESSAGE;
|
| but all the send hooks in extensions/ call (ft-hook-return) which
| sets hook return to 1. Should ex_hook_return set_hook_return (0)?
|
| If I don't comment out the above lines I can't send any message at
| all.
`----
Bug was in dict-buddy.scm. It incorrectly handles hooks. Now with the
dynamic command interface, there is no need to call hook-return for
any command.

Fix is in the CVS.
-- 
Anand Babu
GPG Key ID: 0x62E15A31
Personal Blog  [http://ab.freeshell.org]
The GNU Operating System [http://www.gnu.org]








reply via email to

[Prev in Thread] Current Thread [Next in Thread]