reinh / statsd

A Ruby Statsd client that isn't a direct port of the Python example code. Because Ruby isn't Python.
MIT License
411 stars 154 forks source link

Fix bug in #postfix= with a blank value #32

Closed reinh closed 11 years ago

reinh commented 11 years ago

@postfix was being set to '.' for nil or '' or '.false' for false. This ensures that the value will be correctly reset to nil for nil, false, or '' values.

raggi commented 11 years ago

Whoops, I should have spotted that.