X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=lib%2Frbot%2Fcore%2Firclog.rb;h=3b3134c205ebe67ce7e0022a839fc4489cd4332b;hb=28502d92c420aefa3832e57561044efa06b9ab8b;hp=f60bcbfaddb1805ea9a270724912c0d1ed69dd00;hpb=7f244f32d974cafa74f449853f940f194d08d6d2;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/lib/rbot/core/irclog.rb b/lib/rbot/core/irclog.rb index f60bcbfa..3b3134c2 100644 --- a/lib/rbot/core/irclog.rb +++ b/lib/rbot/core/irclog.rb @@ -263,7 +263,7 @@ class IrcLogModule < CoreBotModule else where_str = where.downcase.gsub(/[:!?$*()\/\\<>|"']/, "_") end - return unless can_log_on(where_str) + next unless can_log_on(where_str) # close the previous logfile if we're rotating if @logs.has_key? where_str