Ignore lines starting with ZWSP

This commit is contained in:
Juhani Haverinen 2015-02-13 17:52:15 +02:00
parent e2f90554b0
commit 354c7ff999
1 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,8 @@ def parse((line,irc)):
if nick in blacklist:
return
elif len(line) >= 4 and len(line[3]) >= 4 and line[3][:4] == ':\xe2\x80\x8b': # If line begins with ZWSP
return
if line[1]=='PRIVMSG':
if line[3]==':#echo':