# HG changeset patch # User mva # Date 1311509800 -25200 # Node ID cecdfba8e625373145df59df16765d5f854e888e # Parent 1b934a878e84598447e3c0bf61a7e728e04b561a plugins/version improvements diff -r 1b934a878e84 -r cecdfba8e625 plugins/version.lua --- a/plugins/version.lua Fri Mar 25 19:20:14 2011 +0100 +++ b/plugins/version.lua Sun Jul 24 19:16:40 2011 +0700 @@ -5,8 +5,9 @@ function riddim.plugins.version(bot) bot.stream:add_plugin("version"); bot.stream.version:set{ - name = "Riddim"; - version = "alpha"; + name = bot.config.bot_name or "Riddim"; + version = bot.config.bot_version or "alpha"; + platform = bot.config.bot_platform or _VERSION; }; bot:hook("commands/version", function (command)