diff options
-rw-r--r-- | lib/rbot/core/irclog.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |