Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add logic to remove own nick from being sent

  • Loading branch information...
commit 28b9ff0161cd60227abec1ed0ec3bd528f0c1162 1 parent 44eaf2c
@xmission xmission authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  email-0mq.py
View
2  email-0mq.py
@@ -55,6 +55,8 @@ def sendsms(index, channel, nick, message):
try:
nick = base64.b64decode(y['tags'][3])
nick = re.sub('^nick_','',nick)
+ if 'prefix_nick' in nick: # don't send your own messages
+ continue
except:
continue
Please sign in to comment.
Something went wrong with that request. Please try again.