summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rw-r--r--udp2irc.rb1
2 files changed, 2 insertions, 1 deletions
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