~ubuntu-branches/ubuntu/precise/gozerbot/precise

« back to all changes in this revision

Viewing changes to debian/gozerbot/usr/lib/python2.5/site-packages/gozerbot/wait.py

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Malcolm
  • Date: 2008-06-02 19:26:39 UTC
  • mfrom: (1.1.3 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080602192639-3rn65nx4q1sgd6sy
Tags: 0.8.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        cmnd = ievent.cmnd
38
38
        for item in self.waitlist:
39
39
            if item[0] == cmnd:
40
 
                if ievent.nick == item[1] or item[1] in ievent.postfix:
 
40
                if cmnd == "JOIN":
 
41
                            catch = ievent.txt + ievent.postfix
 
42
                else:
 
43
                    catch = ievent.nick + ievent.postfix
 
44
                if item[1] in catch:
41
45
                    ievent.ticket = item[3]
42
46
                    item[2].put_nowait(ievent)
43
47
                    self.delete(ievent.ticket)