Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/meeting.py
diff options
context:
space:
mode:
authorRichard Darst <rkd@zgib.net>2009-06-16 01:36:39 (GMT)
committer Richard Darst <rkd@zgib.net>2009-06-16 01:36:39 (GMT)
commit32f547b76f0892f987508f27af723332847b1d50 (patch)
tree7aa7121cd88b2456a031bac966a3d491277970ff /meeting.py
parenta8bc3c220c1eb374590a98b1d52483c18c7d13fe (diff)
add the splitting by commas to the #nick command, too
darcs-hash:20090616013639-82ea9-edcdd9c4d78dabf58804f086d327515241e03eb6.gz
Diffstat (limited to 'meeting.py')
-rw-r--r--meeting.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/meeting.py b/meeting.py
index d6218f7..327cff0 100644
--- a/meeting.py
+++ b/meeting.py
@@ -236,8 +236,10 @@ class MeetingCommands(object):
"""Make meetbot aware of a nick which hasn't said anything.
To see where this can be used, see #action command"""
- nicks = line.strip().split()
+ nicks = re.split('[, ]+', line.strip())
for nick in nicks:
+ nick = nick.strip()
+ if not nick: continue
self.addnick(html(nick), lines=0)
def do_link(self, **kwargs):
"""Add informational item to the minutes."""