summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mpdlib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpdlib.rb b/mpdlib.rb
index 12d2d3d..97ade60 100644
--- a/mpdlib.rb
+++ b/mpdlib.rb
@@ -45,7 +45,7 @@ class MPD
str.split("\n").each do |line|
field, value = line.split(': ')
- hash[field] = value
+ hash[field.downcase.to_sym] = value
end
return hash