mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 21:29:24 +01:00
Moved queue from fix to structures.
This commit is contained in:
parent
328cdf2c0e
commit
6f7e3e53c1
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user