Fixed protocol check in user.login handler.
git-svn-id: http://voip.null.ro/svn/yate@2894 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
a5a3672ead
commit
c3612224e9
|
@ -672,7 +672,7 @@ bool YJBEngine::handleMsgExecute(Message& msg, const String& line)
|
|||
bool YJBEngine::handleUserLogin(Message& msg, const String& line)
|
||||
{
|
||||
String* proto = msg.getParam("protocol");
|
||||
if (!(proto || !__plugin.canHandleProtocol(*proto)))
|
||||
if (proto && !__plugin.canHandleProtocol(*proto))
|
||||
return false;
|
||||
|
||||
// Check operation
|
||||
|
|
Loading…
Reference in New Issue