Don't log messages to Nickserv (it's private, passwords and all that)

This commit is contained in:
Kiooeht 2011-05-12 07:49:06 -07:00
parent 836ec6c74d
commit 06835f4cfb

View file

@ -92,6 +92,7 @@ class PesterLog(object):
if not self.parent.config.logMemos(): return
else:
if not self.parent.config.logPesters(): return
if str(handle).upper() == "NICKSERV": return
#watch out for illegal characters
handle = re.sub(r'[<>:"/\\|?*]', "_", handle)
#time = strftime("[%H:%M:%S] ")