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:
marian 2009-11-04 15:55:04 +00:00
parent a5a3672ead
commit c3612224e9
1 changed files with 1 additions and 1 deletions

View File

@ -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