X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fbans.rb;h=99b664dfd91b04c641a6c30ca0d6640dd5d79d16;hb=452e323bfdb73d6b93ab96f5fc417891e4aa8f53;hp=f80dd70f9fed91b1219461954d804acecb4b549b;hpb=e2dc08da6b19d0e4fdb2f0a71b0c89e6477c5605;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/bans.rb b/data/rbot/plugins/bans.rb index f80dd70f..99b664df 100644 --- a/data/rbot/plugins/bans.rb +++ b/data/rbot/plugins/bans.rb @@ -458,7 +458,7 @@ class BansPlugin < Plugin when /^(\d+)m$/ timer = $1.to_i * 60 when /^(\d+)h$/ - timer = $1.to_i * 60 * 60 + timer = $1.to_i * 60 * 60 when /^(\d+)d$/ timer = $1.to_i * 60 * 60 * 24 else