Permalink
Browse files

Made it work with live streams

  • Loading branch information...
1 parent 62f7b2e commit f00b588feccf905cf9769824cebc2ed5ae508d92 @titegtnodI committed Jan 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/titlespam.py
View
@@ -3,12 +3,12 @@
#Only supports Niconico atm
def titlespam_spamTitle(inMSG):
- if not inMSG or not 'video.niconico.com/watch/' in inMSG[0]:
+ if not inMSG or (not 'niconico.com/watch/' in inMSG[0]:
return
splitMSG = inMSG[0].split()
url = ''
for i in splitMSG:
- if 'video.niconico.com/watch/' in i:
+ if 'niconico.com/watch/' in i:
url = i
break
try:

0 comments on commit f00b588

Please sign in to comment.