summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2014-04-28 13:09:42 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2014-04-28 13:09:42 +0200
commit48ae14589d7594fe2644c22cb84fba8cab3947ec (patch)
tree77c54a92ced26eaa393fa914da8bd1c1485b1993
parent80002dff7fef2fad7ef38aeb8eb47ddc338f6ae3 (diff)
downloadrepost-48ae14589d7594fe2644c22cb84fba8cab3947ec.tar.gz
repost-48ae14589d7594fe2644c22cb84fba8cab3947ec.tar.bz2
repost-48ae14589d7594fe2644c22cb84fba8cab3947ec.tar.xz
repost-48ae14589d7594fe2644c22cb84fba8cab3947ec.zip
whoops.
-rw-r--r--plugins/commands/jan.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/commands/jan.rb b/plugins/commands/jan.rb
index fd0e973..8217995 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") =~ /ał$/ then
+ if args[0].force_encoding("UTF-8") =~ /[euioa]ł$/ then
predicate = args[0]
object = File.readlines(Config[:commands][:jan][:object]).sample.strip
else