lib/messenger/campfire.rb in messenger-0.4.1 vs lib/messenger/campfire.rb in messenger-0.4.2

- old
+ new

@@ -37,10 +37,11 @@ url.match(/^campfire(-ssl)?:\/\/([^:]+):([^@]+)@([^\.]+).campfirenow.com/)[1,4] end def self.success?(response) case response.code - when 200, 201: true + when 200, 201 + true else false end end