summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-10-15 16:09:07 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2017-10-15 16:09:07 -0700
commit062482730fbea8c5fed331bb813eae7761b5a1b5 (patch)
tree4e5917c376ce6434b9cdcd4dcdde0504640aa5ad
parenttest.rb: make test port match default config. (diff)
downloadudp2irc-062482730fbea8c5fed331bb813eae7761b5a1b5.tar.gz
udp2irc-062482730fbea8c5fed331bb813eae7761b5a1b5.tar.bz2
udp2irc-062482730fbea8c5fed331bb813eae7761b5a1b5.zip
udp2irc: use new encoding option, bump Gemfile for it.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-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