resetadmin command

This commit is contained in:
Luke Slater 2012-03-07 16:54:03 +00:00
parent 7ac46f6ed5
commit 4893b2dd74

View File

@ -98,6 +98,14 @@ var adminCommands = function(dbot) {
}
},
'onLoad': function() {
return {
'~resetadmin': function(data, params) {
dbot.admin = dbot.config.admin;
}
}
},
'on': 'PRIVMSG'
};
};