xmpp/status.go
changeset 163 3f891f7fe817
parent 155 fdd637733628
child 166 8093a2da46db
--- a/xmpp/status.go	Mon Sep 30 18:59:37 2013 -0600
+++ b/xmpp/status.go	Mon Sep 30 20:31:25 2013 -0600
@@ -90,7 +90,7 @@
 		if current == waitFor {
 			return nil
 		}
-		if current == StatusShutdown {
+		if current.fatal() {
 			break
 		}
 		if current > waitFor {