diff options
Diffstat (limited to 'core/irc.rb')
-rw-r--r-- | core/irc.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/irc.rb b/core/irc.rb index fdb2ad7..d682299 100644 --- a/core/irc.rb +++ b/core/irc.rb @@ -17,7 +17,6 @@ module Dinobot def connect @logger.info "Connecting to #{@server}:#{@port}." - @socket = TCPSocket.new(@server, @port) puts "PASS #{@pass}" if @pass @@ -26,6 +25,7 @@ module Dinobot end def disconnect + @logger.info 'Disconnecting.' @socket.close end @@ -44,7 +44,6 @@ module Dinobot def puts(str) @logger.out str.inspect - @socket.puts str end |