RE: [PATCH] Fix for double initialization of silc plugin in irssi (resulting in duplication of "action" messsages)
Skywing <[email protected]> Thu, 27 Mar 2008 10:55:09 -0500
| Newsgroups | gmane.network.silc.devel |
|---|---|
| Message-ID | <982D8D05B6407A49AD506E6C3AC8E7D626D7271F8F@caralain.haven.nynaeve.net> |
I was using the latest 1.1.4 (grabbed the source distribution yesterday and built from there in fact)... Furthermore, I'm not entirely sure about the explanation that it's a makefile issue. The problem seems to be that both fe_common_silc_init() and fe_silc_init() call silc_init(), which does not handle being called twice correctly. Or am I missing why you're saying it's a makefile problem? (Will freely admit that I'm not too terribly familiar with this codebase. The message duplication problem stems from the fact that calling silc_init() twice calls fe_silc_messages_init() twice, which registers for signals twice, meaning that certain messages are processed twice and thus, for instance, the silc message action signal writes the emote to the screen two times. Or is there some other circumstance that I am missing here? - S -----Original Message----- From: Pekka Riikonen [mailto:[email protected]] Sent: Thursday, March 27, 2008 4:03 AM To: Jochen Eisinger Cc: Skywing; silc-devel-cR8azDVoa3JZ/hxrHI3Fm9i2O/[email protected] Subject: Re: [PATCH] Fix for double initialization of silc plugin in irssi (resulting in duplication of "action" messsages) On Thu, 27 Mar 2008, Jochen Eisinger wrote: : Date: Thu, 27 Mar 2008 07:57:44 +0100 : From: Jochen Eisinger <jochen-hvFg3w/[email protected]> : To: Skywing <[email protected]> : Cc: "silc-devel-cR8azDVoa3JZ/hxrHI3Fm9i2O/[email protected]" <silc-devel-cR8azDVoa3JZ/hxrHI3Fm9i2O/[email protected]> : Subject: Re: [PATCH] Fix for double initialization of silc plugin in irssi : (resulting in duplication of "action" messsages) : : Hi, : : this is already fixed in git (the problem is in the makefile which : installs the module twice) : And surely should be fixed in latest 1.1.4. Pekka ________________________________________________________________________ Pekka Riikonen priikone at silcnet.org Secure Internet Live Conferencing (SILC) http://silcnet.org/ _______________________________________________________________________ Info: https://lists.silcnet.org/mailman/listinfo/silc-announce Archive: https://lists.silcnet.org/pipermail/silc-announce FAQ: http://silcnet.org/support/faq/