3
0
mirror of https://github.com/reality/dbot.git synced 2025-02-02 15:44:33 +01:00

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 { return {
'onLoad': function(data) { 'onLoad': function() {
if(dbot.db.sessionData.hasOwnProperty('badwords')) { if(dbot.db.sessionData.hasOwnProperty('badwords')) {
dbot.db.sessionData.badwords = {}; dbot.db.sessionData.badwords = {};
} }