inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 74136695f88ded34f1413b546ad1b0699404bfe8
parent f06502606e6e043487d9154ce4127e81e1181549
Author: Peter Powell <petpow@saberuk.com>
Date:   Tue, 19 Feb 2019 18:32:49 +0000

Fix erasing event subscribers erasing all with the same priority.

Diffstat:
Minclude/event.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/event.h b/include/event.h @@ -39,7 +39,7 @@ class Events::ModuleEventProvider : public ServiceProvider, private dynamic_refe bool operator()(ModuleEventListener* one, ModuleEventListener* two) const; }; - typedef insp::flat_multiset<ModuleEventListener*, Comp> SubscriberList; + typedef insp::flat_multiset<ModuleEventListener*, Comp, std::less<ModuleEventListener*> > SubscriberList; /** Constructor * @param mod Module providing the event(s)