From 6b0d4e41a51a32089f00d5ff4760651a5664cfd0 Mon Sep 17 00:00:00 2001 From: Robert Gerus Date: Mon, 28 Apr 2014 15:00:14 +0200 Subject: [PATCH] =?UTF-8?q?hmm=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/commands/jan.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/commands/jan.rb b/plugins/commands/jan.rb index 8217995..dc6cf13 100644 --- a/plugins/commands/jan.rb +++ b/plugins/commands/jan.rb @@ -1,6 +1,6 @@ Client.register_command("jan") { |args| if not args[0].nil? then - if args[0].force_encoding("UTF-8") =~ /[euioa]ł$/ then + if args[0].force_encoding("UTF-8") =~ /ł$/ then predicate = args[0] object = File.readlines(Config[:commands][:jan][:object]).sample.strip else