Created
November 14, 2012 13:32
-
-
Save hiltmon/4072079 to your computer and use it in GitHub Desktop.
Changes to slogger.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Line 172 : WAS | |
eval(plugin['class']).new.do_log | |
# CHANGE TO | |
if plugin['updates_config'] == true | |
# Pass a reference to config for mutation | |
eval(plugin['class']).new.do_log(@config) | |
else | |
# Usual thing (so that we don't break other plugins) | |
eval(plugin['class']).new.do_log | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment