diff --git a/plugin.py b/plugin.py index efb6f75..96edf50 100644 --- a/plugin.py +++ b/plugin.py @@ -66,9 +66,9 @@ class TriviaTime(callbacks.Plugin): self.storage.makeEditTable() self.storage.makeInfoTable() #triviainfo table check - #if self.storage.isTriviaVersionSet(): - # if self.storage.getVersion() != None & self.storage.getVersion() != self.currentVersion: - #HERE IS WHERE WE UPDATE THE DATABASE. + if self.storage.isTriviaVersionSet(): + if self.storage.getVersion() != None & self.storage.getVersion() != self.currentVersion: + return def doPrivmsg(self, irc, msg): """