From d4876b1702bf1334eb46128f05dcdd9dc8edf238 Mon Sep 17 00:00:00 2001 From: fritzy Date: Sat, 5 Apr 2008 00:07:35 +0000 Subject: [PATCH] * auth now disconnects if failed git-svn-id: svn://netflint.net/xmpphp@16 ef36c318-a008-4979-b6e8-6b496270793b --- xmpp.php | 1 + 1 file changed, 1 insertion(+) diff --git a/xmpp.php b/xmpp.php index c8194a1..9e49674 100644 --- a/xmpp.php +++ b/xmpp.php @@ -114,6 +114,7 @@ class XMPP extends XMLStream { function sasl_failure_handler($xml) { $this->log->log("Auth failed!", LOGGING_ERROR); + $this->disconnect(); } function resource_bind_handler($xml) {