aboutsummaryrefslogtreecommitdiff
path: root/dinobot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'dinobot.rb')
-rw-r--r--dinobot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dinobot.rb b/dinobot.rb
index 9b33894..43b21c8 100644
--- a/dinobot.rb
+++ b/dinobot.rb
@@ -153,7 +153,7 @@ module Dinobot
def run_methods(methods)
methods.each do |m|
- @logger.info "Executing method: #{m.inspect}"
+ @logger.info "Executing method: #{m.inspect}" if @config.data[:debug]
send(*m)
end
end