From da3e3ab0281288bfefee0f5ab0d45d5501bd0442 Mon Sep 17 00:00:00 2001 From: neersighted Date: Sun, 15 Apr 2012 19:12:32 -0700 Subject: [PATCH] fixed bug in feelings.py and violence.py --- plugins/feelings.py | 2 +- plugins/violence.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/feelings.py b/plugins/feelings.py index 2710afa..4561c5b 100755 --- a/plugins/feelings.py +++ b/plugins/feelings.py @@ -2,7 +2,7 @@ from util import hook import re import random -nick_re = re.compile(r"^[A-Za-z0-9_|.-\]\[]*$") +nick_re = re.compile(r"^[A-Za-z0-9_|\.\-\]\[]*$") insults = [] flirts = [] diff --git a/plugins/violence.py b/plugins/violence.py index 9eda0e1..92ae537 100755 --- a/plugins/violence.py +++ b/plugins/violence.py @@ -2,7 +2,7 @@ from util import hook import re import random -nick_re = re.compile(r"^[A-Za-z0-9_|.-\]\[]*$") +nick_re = re.compile(r"^[A-Za-z0-9_|\.\-\]\[]*$") # define lists for messages larts = []