Mark in list with an asterisk modules with unload capability.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1681 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
1e64633335
commit
fac2ac157d
|
@ -415,6 +415,8 @@ bool EngineCommand::received(Message &msg)
|
||||||
for (ObjList* l = Engine::self()->m_libs.skipNull();l;l = l->skipNext()) {
|
for (ObjList* l = Engine::self()->m_libs.skipNull();l;l = l->skipNext()) {
|
||||||
SLib* s = static_cast<SLib*>(l->get());
|
SLib* s = static_cast<SLib*>(l->get());
|
||||||
msg.retValue().append(*s,"\t");
|
msg.retValue().append(*s,"\t");
|
||||||
|
if (s->unload(false))
|
||||||
|
msg.retValue() += "*";
|
||||||
}
|
}
|
||||||
msg.retValue() << "\r\n";
|
msg.retValue() << "\r\n";
|
||||||
ok = true;
|
ok = true;
|
||||||
|
|
Loading…
Reference in New Issue