diff --git a/modules/admin.js b/modules/admin.js index a0db0c4..d1dfc26 100644 --- a/modules/admin.js +++ b/modules/admin.js @@ -98,6 +98,14 @@ var adminCommands = function(dbot) { } }, + 'onLoad': function() { + return { + '~resetadmin': function(data, params) { + dbot.admin = dbot.config.admin; + } + } + }, + 'on': 'PRIVMSG' }; };