From 966185a9eabe917043e25f4c4714476d1e7ea4a7 Mon Sep 17 00:00:00 2001 From: fritzy Date: Thu, 17 Apr 2008 00:30:27 +0000 Subject: [PATCH] * type-o git-svn-id: svn://netflint.net/xmpphp@22 ef36c318-a008-4979-b6e8-6b496270793b --- xmpp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp.php b/xmpp.php index fcb0904..4cec956 100644 --- a/xmpp.php +++ b/xmpp.php @@ -51,7 +51,7 @@ class XMPP extends XMLStream { function message_handler($xml) { $payload['type'] = $xml->attrs['type']; - if(!$paytload['type']) $payload['type'] = 'chat'; + if(!$payload['type']) $payload['type'] = 'chat'; $payload['from'] = $xml->attrs['from']; $payload['body'] = $xml->sub('body')->data; $this->log->log("Message: {$xml->sub('body')->data}", LOGGING_DEBUG);