Permalink
Browse files

Made the check that is false use === because it might explain why ->_…

…buffer is always empty
  • Loading branch information...
1 parent c13c185 commit 41ec21e6a086dbb0d3d26930b0de4a47319a97fd @alexmace committed Mar 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Xmpp/Connection.php
View
@@ -1079,7 +1079,7 @@ protected function waitForServer($tag)
foreach ($this->_buffer as $key => $stanza) {
// Only bother looking for more tags if one has not yet been found.
- if ($fromServer == false) {
+ if ($fromServer === false) {
// Remove this element from the buffer because we do not want it to
// be processed again.

0 comments on commit 41ec21e

Please sign in to comment.