Page 1 of 1

duplicate login user

Posted: 20 Sep 2010, 10:55
by sridhar
Hi

Is there an event which will let us know that the user name with which the user is trying to login is already in use ?

As of now , if we try to login with an user name which is already logged in , the login will be unsuccessful . We are using the Custom login feature .

Thanks

Posted: 20 Sep 2010, 11:13
by BigFIsh

Code: Select all

var obj = _server.loginUser(name, pass, chan);
if (obj.success)
{
	//login was successful
}
else
{
	//login was unsuccessful (user may have been taken)
}

Posted: 27 Sep 2010, 09:36
by sridhar
Thanks Big Fish :D