master
Robert Gerus 2014-04-28 15:00:14 +02:00
parent 48ae14589d
commit 6b0d4e41a5
1 changed files with 1 additions and 1 deletions

View File

@ -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