* auth now disconnects if failed

git-svn-id: svn://netflint.net/xmpphp@16 ef36c318-a008-4979-b6e8-6b496270793b
This commit is contained in:
fritzy 2008-04-05 00:07:35 +00:00
parent f5848fdeaa
commit d4876b1702

View File

@ -114,6 +114,7 @@ class XMPP extends XMLStream {
function sasl_failure_handler($xml) { function sasl_failure_handler($xml) {
$this->log->log("Auth failed!", LOGGING_ERROR); $this->log->log("Auth failed!", LOGGING_ERROR);
$this->disconnect();
} }
function resource_bind_handler($xml) { function resource_bind_handler($xml) {