diff options
author | Monroe Linden <monroe@lindenlab.com> | 2009-10-08 18:42:16 -0700 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2009-10-08 18:42:16 -0700 |
commit | bf82ec22647736333e1b14766e3c7d5cfb1a739a (patch) | |
tree | 149c6beae062263954e1cd109f0837380ad53ce3 | |
parent | dfabf8c8c2c8b0bb1a5fcca7ad1090213e4eaf9a (diff) |
Log the plugin version string when a plugin is loaded.
-rw-r--r-- | indra/llplugin/llpluginprocessparent.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp index c925d4b760..f3b4c6bdc6 100644 --- a/indra/llplugin/llpluginprocessparent.cpp +++ b/indra/llplugin/llpluginprocessparent.cpp @@ -493,6 +493,9 @@ void LLPluginProcessParent::receiveMessage(const LLPluginMessage &message) { // Plugin has been loaded. + mPluginVersionString = message.getValue("plugin_version"); + LL_INFOS("Plugin") << "plugin version string: " << mPluginVersionString << LL_ENDL; + // Check which message classes/versions the plugin supports. // TODO: check against current versions // TODO: kill plugin on major mismatches? @@ -503,8 +506,6 @@ void LLPluginProcessParent::receiveMessage(const LLPluginMessage &message) LL_INFOS("Plugin") << "message class: " << iter->first << " -> version: " << iter->second.asString() << LL_ENDL; } - mPluginVersionString = message.getValue("plugin_version"); - // Send initial sleep time setSleepTime(mSleepTime, true); |