forked from GitHub/dbot
onLoad has no data argument
This commit is contained in:
parent
b2ede3f5d5
commit
eb683369f2
@ -34,7 +34,7 @@ var badwords = function(dbot) {
|
||||
};
|
||||
|
||||
return {
|
||||
'onLoad': function(data) {
|
||||
'onLoad': function() {
|
||||
if(dbot.db.sessionData.hasOwnProperty('badwords')) {
|
||||
dbot.db.sessionData.badwords = {};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user