From a1622a363e53cba2b1e468dce9d00144eef22d03 Mon Sep 17 00:00:00 2001 From: paulc Date: Tue, 1 Apr 2008 07:45:57 +0000 Subject: [PATCH] Add early init to ChanAssistList constructor, forward it to Module. git-svn-id: http://voip.null.ro/svn/yate@1866 acf43c95-373e-0410-b603-e72c3f656dc1 --- libs/ypbx/yatepbx.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/ypbx/yatepbx.h b/libs/ypbx/yatepbx.h index 07d26270..537e8f79 100644 --- a/libs/ypbx/yatepbx.h +++ b/libs/ypbx/yatepbx.h @@ -286,9 +286,10 @@ protected: /** * Constructor * @param name Name of the module + * @param earlyInit True to attempt to initialize module before others */ - inline ChanAssistList(const char* name) - : Module(name, "misc"), m_first(true) + inline ChanAssistList(const char* name, bool earlyInit = false) + : Module(name, "misc", earlyInit), m_first(true) { } /**