diff options
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/core/utils/utils.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbot/core/utils/utils.rb b/lib/rbot/core/utils/utils.rb index 084f92a5..864426b0 100644 --- a/lib/rbot/core/utils/utils.rb +++ b/lib/rbot/core/utils/utils.rb @@ -262,6 +262,8 @@ module ::Irc # 70 => about one hour def Utils.distance_of_time_in_words(minutes) case + when minutes < 0 + Utils.distance_of_time_in_words(-minutes) when minutes < 1 _("less than a minute") when minutes < 50 |