Skip to content
This repository was archived by the owner on May 18, 2021. It is now read-only.

Changed class variables to instance variables in plugins#3

Open
kn0 wants to merge 1 commit intorapid7:masterfrom
kn0:class_variable_fix
Open

Changed class variables to instance variables in plugins#3
kn0 wants to merge 1 commit intorapid7:masterfrom
kn0:class_variable_fix

Conversation

@kn0
Copy link
Copy Markdown

@kn0 kn0 commented Jun 5, 2014

This PR changes the class 'hierarchy' variables @@description and @@confidence to instance variables within each plugin (and supporting code). Before this change, each time a plugin was required by plugins.rb, the variables were found in the class hierarchy (which looked up to the PluginTemplate class). The value of the variables were then overwritten. This caused the list of plugins to only show the description of the last plugin required (and set the confidence of each plugin to show as 0.10).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant