Moved queue from fix to structures.

This commit is contained in:
Jeremy Fincher 2003-05-29 16:35:35 +00:00
parent 328cdf2c0e
commit 6f7e3e53c1

View File

@ -46,6 +46,7 @@ import utils
import ircmsgs import ircmsgs
import privmsgs import privmsgs
import callbacks import callbacks
import structures
def configure(onStart, afterConnect, advanced): def configure(onStart, afterConnect, advanced):
from questions import expect, anything, something, yn from questions import expect, anything, something, yn
@ -75,7 +76,7 @@ class GooglePrivmsg(callbacks.Privmsg):
callbacks.Privmsg.__init__(self) callbacks.Privmsg.__init__(self)
self.total = 0 self.total = 0
self.totalTime = 0 self.totalTime = 0
self.last24hours = queue() self.last24hours = structures.queue()
def _searched(self, data): def _searched(self, data):
now = time.time() now = time.time()