diff options
author | Richard Darst <rkd@zgib.net> | 2009-06-16 01:36:39 (GMT) |
---|---|---|
committer | Richard Darst <rkd@zgib.net> | 2009-06-16 01:36:39 (GMT) |
commit | 32f547b76f0892f987508f27af723332847b1d50 (patch) | |
tree | 7aa7121cd88b2456a031bac966a3d491277970ff /meeting.py | |
parent | a8bc3c220c1eb374590a98b1d52483c18c7d13fe (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.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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.""" |