summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games/uno.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-09 17:06:40 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-09 17:06:40 +0200
commit7ee14d61698e23c61a51cc6e15e836246eadb21e (patch)
treef70740dd47c9472ec40a4080d452e0ea2a0672af /data/rbot/plugins/games/uno.rb
parentaa0da8b4c3d4fda7ccb8a3c864d07a54fdf1c3aa (diff)
uno plugin: downcase parameters
Diffstat (limited to 'data/rbot/plugins/games/uno.rb')
-rw-r--r--data/rbot/plugins/games/uno.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb
index e4ee2ae2..59cf0ba9 100644
--- a/data/rbot/plugins/games/uno.rb
+++ b/data/rbot/plugins/games/uno.rb
@@ -565,7 +565,7 @@ class UnoPlugin < Plugin
end
when :pl # play card
if g.has_turn?(m.source)
- g.play_card(m.source, m.params)
+ g.play_card(m.source, m.params.downcase)
else
m.reply _("It's not your turn")
end