summaryrefslogtreecommitdiff
path: root/libmpd.rb
diff options
context:
space:
mode:
Diffstat (limited to 'libmpd.rb')
-rw-r--r--libmpd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpd.rb b/libmpd.rb
index 72e0f19..f71d156 100644
--- a/libmpd.rb
+++ b/libmpd.rb
@@ -58,7 +58,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