summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2014-04-28 15:00:14 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2014-04-28 15:00:14 +0200
commit6b0d4e41a51a32089f00d5ff4760651a5664cfd0 (patch)
tree158bfc882288484645ced3ce5dc12aeab0a6b93c
parent48ae14589d7594fe2644c22cb84fba8cab3947ec (diff)
downloadrepost-6b0d4e41a51a32089f00d5ff4760651a5664cfd0.tar.gz
repost-6b0d4e41a51a32089f00d5ff4760651a5664cfd0.tar.bz2
repost-6b0d4e41a51a32089f00d5ff4760651a5664cfd0.tar.xz
repost-6b0d4e41a51a32089f00d5ff4760651a5664cfd0.zip
hmm…
-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 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