Silence spammy message in Seen module
This commit is contained in:
parent
ae973b9ae1
commit
3c775d5896
|
@ -36,7 +36,7 @@ class Seen(ModuleBase):
|
||||||
# update or add the user's row
|
# update or add the user's row
|
||||||
datest=str( time.time()+(int(self.config["add_hours"])*60*60))
|
datest=str( time.time()+(int(self.config["add_hours"])*60*60))
|
||||||
c.execute("REPLACE INTO `seen` (`nick`, `date`) VALUES (?, ?)", (nick.lower(), datest ))
|
c.execute("REPLACE INTO `seen` (`nick`, `date`) VALUES (?, ?)", (nick.lower(), datest ))
|
||||||
self.log.info("Seen: %s on %s" % (nick.lower(), datest))
|
#self.log.info("Seen: %s on %s" % (nick.lower(), datest))
|
||||||
sql.commit()
|
sql.commit()
|
||||||
if trailing.startswith(".seen"):
|
if trailing.startswith(".seen"):
|
||||||
cmdargs = trailing.split(" ");
|
cmdargs = trailing.split(" ");
|
||||||
|
|
Loading…
Reference in New Issue