Changeset 366b880a8dd4429ab623a34e60e1bce9e6e68c43

Show
Ignore:
Timestamp:
11/11/08 22:21:29 (2 months ago)
Author:
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
git-committer:
Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 1226431289 +0100
git-parent:

[aed54060e92be8af11f7f58bddeffb5e2c997e27]

git-author:
Giuseppe Bilotta <giuseppe.bilotta@gmail.com> 1226431289 +0100
Message:

UNO plugin: handle empty top lists

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • data/rbot/plugins/games/uno.rb

    raed5406 r366b880  
    11581158    end 
    11591159 
     1160    if wins.empty? 
     1161      m.reply(_("no %{uno} games were completed here") % { 
     1162        :uno => UnoGame::UNO 
     1163      }) 
     1164      return 
     1165    end 
     1166 
     1167 
    11601168    if n = p[:scorenum] 
    11611169      msg = _("%{uno} %{num} highest scores: ") % {