3
0
mirror of https://github.com/reality/dbot.git synced 2025-01-11 20:42:37 +01:00

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'
};
};