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

Re: hooking to same event



On Mon, 2003-10-13 at 02:18, Bailey Kong wrote:
> Hi,
> 
> I was wondering if there was an issue if more than one plugin hooks to
> the same text event.  Right now I have written two plugin and they
> both xchat_hook_print to "Notices".  And when someone sends me a
> notice, it seems to cause a segfault.  I just wanted to make sure if
> it was or wasn't my code.  I've debugged with gdb and couldn't figure
> out anything in my code in the area gdb pointed me to that would cause
> a segfault.

From my experiences and understanding i'd say that the priority you set
just sets your place in the list, when you get the event. So basically
it has to be a flaw in your plugin, but without code i can't even give
you a hint or guess. (I assume this is a C plugin)

-- 
Ian Kumlien <pomac@vapor.com>

This is a digitally signed message part