From 062482730fbea8c5fed331bb813eae7761b5a1b5 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sun, 15 Oct 2017 16:09:07 -0700 Subject: udp2irc: use new encoding option, bump Gemfile for it. Signed-off-by: Robin H. Johnson --- Gemfile | 2 +- udp2irc.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index f8273df..926da58 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,3 @@ source 'https://rubygems.org' -gem 'cinch' \ No newline at end of file +gem 'cinch', '>=2.2.0' diff --git a/udp2irc.rb b/udp2irc.rb index cb500db..a28e083 100644 --- a/udp2irc.rb +++ b/udp2irc.rb @@ -8,6 +8,7 @@ bot = Cinch::Bot.new do loggers.level = :warn configure do |c| c.server = IRC_SERVER + c.encoding = 'utf-8' c.channels = [IRC_CHANNEL] c.nick = IRC_NICK c.user = IRC_USER -- cgit v1.2.3-65-gdbad