onLoad has no data argument

This commit is contained in:
Luke Slater 2012-04-19 12:19:09 +01:00
parent b2ede3f5d5
commit eb683369f2

View File

@ -34,7 +34,7 @@ var badwords = function(dbot) {
};
return {
'onLoad': function(data) {
'onLoad': function() {
if(dbot.db.sessionData.hasOwnProperty('badwords')) {
dbot.db.sessionData.badwords = {};
}