Don't return true when completing a command, let other modules handle the message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4515 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
5ef1a53e6f
commit
3f447874fc
|
@ -4182,8 +4182,10 @@ bool JBModule::commandComplete(Message& msg, const String& partLine,
|
|||
partLine.c_str(),partWord.c_str());
|
||||
|
||||
// No line or 'help': complete module name
|
||||
if (partLine.null() || partLine == "help")
|
||||
return Module::itemComplete(msg.retValue(),name(),partWord);
|
||||
if (partLine.null() || partLine == "help") {
|
||||
Module::itemComplete(msg.retValue(),name(),partWord);
|
||||
return Module::commandComplete(msg,partLine,partWord);
|
||||
}
|
||||
// Line is module name: complete module commands
|
||||
if (partLine == name()) {
|
||||
for (const String* list = s_cmds; list->length(); list++)
|
||||
|
|
Loading…
Reference in New Issue