examples/sig.rb in net-irc-0.0.8 vs examples/sig.rb in net-irc-0.0.9

- old
+ new

@@ -1,7 +1,7 @@ #!/usr/bin/env ruby -# vim:fileencoding=UTF-8: +# vim:encoding=UTF-8: =begin # sig.rb ServerLog IRC Gateway @@ -15,10 +15,10 @@ =end $LOAD_PATH << "lib" $LOAD_PATH << "../lib" -$KCODE = "u" if RUBY_VERSION < "1.9" # json use this +$KCODE = "u" unless defined? ::Encoding require "rubygems" require "net/irc" require "logger" require "pathname"