Commit 918694b32da39f67999f15ed6637f6c36bf11872

Anton Maminov 2015-03-18T14:23:47

wtf?! nobody uses MPDClient!

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/mpd_client.rb b/lib/mpd_client.rb
index 35242e1..c1edd0c 100644
--- a/lib/mpd_client.rb
+++ b/lib/mpd_client.rb
@@ -174,7 +174,7 @@ class MPDClient
   end
 
   def reconnect
-    log.info("MPD (re)connect #{host}, #{port}") if log
+    log.info("MPD (re)connect #{@host}, #{@port}") if log
     if @host.start_with?('/')
       @socket = UNIXSocket.new(@host)
       hello