mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 12:12:54 +01:00
Forgotten imports.
This commit is contained in:
parent
13cca25702
commit
9a4a6adc8a
@ -39,8 +39,12 @@ __author__ = 'Jeremy Fincher (jemfinch) <jemfinch@users.sf.net>'
|
|||||||
|
|
||||||
import supybot.plugins as plugins
|
import supybot.plugins as plugins
|
||||||
|
|
||||||
|
import time
|
||||||
|
|
||||||
import supybot.conf as conf
|
import supybot.conf as conf
|
||||||
import supybot.utils as utils
|
import supybot.utils as utils
|
||||||
|
import supybot.ircmsgs as ircmsgs
|
||||||
|
import supybot.ircutils as ircutils
|
||||||
import supybot.privmsgs as privmsgs
|
import supybot.privmsgs as privmsgs
|
||||||
import supybot.registry as registry
|
import supybot.registry as registry
|
||||||
import supybot.callbacks as callbacks
|
import supybot.callbacks as callbacks
|
||||||
@ -84,7 +88,7 @@ class NickCapture(callbacks.Privmsg):
|
|||||||
now = time.time()
|
now = time.time()
|
||||||
if now - self.lastIson > self.registryValue('ison.period'):
|
if now - self.lastIson > self.registryValue('ison.period'):
|
||||||
self.lastIson = now
|
self.lastIson = now
|
||||||
self._sendIson(nick)
|
self._sendIson(irc, nick)
|
||||||
|
|
||||||
def _sendIson(self, irc, nick):
|
def _sendIson(self, irc, nick):
|
||||||
self.log.info('Checking if %s ISON %s.', nick, irc.network)
|
self.log.info('Checking if %s ISON %s.', nick, irc.network)
|
||||||
|
Loading…
Reference in New Issue
Block a user