summaryrefslogtreecommitdiffstats
path: root/plugins/commands/jan.rb
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/commands/jan.rb')
-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