Going back to old regex trigger
This commit is contained in:
		| @@ -36,7 +36,7 @@ class Useless(DatabasePlugin): | ||||
|  | ||||
|         if result: | ||||
|             old = result['item'] | ||||
|             msg = old.replace(search, '\x02{}\x0F'.format(replace)) | ||||
|             msg = old.replace(search, '\x02{}\x0F'.format(replace), 1) | ||||
|             msg = re.sub(r'\x01ACTION (.*)\x01', r'/me \1', msg) | ||||
|             if old != msg: | ||||
|                 self.bot.privmsg(target, '<{nick}> {msg}'.format(nick=nick, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user