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:
paulc 2008-01-26 17:33:42 +00:00
parent 1e64633335
commit fac2ac157d
1 changed files with 2 additions and 0 deletions

View File

@ -415,6 +415,8 @@ bool EngineCommand::received(Message &msg)
for (ObjList* l = Engine::self()->m_libs.skipNull();l;l = l->skipNext()) {
SLib* s = static_cast<SLib*>(l->get());
msg.retValue().append(*s,"\t");
if (s->unload(false))
msg.retValue() += "*";
}
msg.retValue() << "\r\n";
ok = true;