lib/net/irc/client.rb in net-irc2-0.0.13 vs lib/net/irc/client.rb in net-irc2-0.0.14

- old
+ new

@@ -101,10 +101,10 @@ # include Net::IRC::Constants # post PRIVMSG, "#channel", "foobar" def post(command, *params) m = Message.new(nil, command, params.map {|s| if s - s.force_encoding("ASCII-8BIT") if s.respond_to? :force_encoding + #s.force_encoding("ASCII-8BIT") if s.respond_to? :force_encoding #s.gsub(/\r\n|[\r\n]/, " ") s.tr("\r\n", " ") else "" end