~stefanor/ibid/passwords-723405

« back to all changes in this revision

Viewing changes to ibid/plugins/sources.py

  • Committer: Tarmac
  • Author(s): Max Rabkin
  • Date: 2011-03-13 15:13:25 UTC
  • mfrom: (1003.2.5 invite-705907)
  • Revision ID: ibid-lp-lander@rivera.za.net-20110313151325-yjetqvy3474stcmn
Handle invite events in Address, Ignore, Complain and Identity
Author: Max Rabkin
Merge Request: http://code.launchpad.net/~max-rabkin/ibid/invite-705907/+merge/47100
Approved by: Jonathan Hitchcock, Stefano Rivera
Fixes LP: #705907

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
    @handler
91
91
    @authorise()
92
92
    def invited(self, event):
93
 
        event.addresponse(u'Joining %s', event.channel,
 
93
        event.addresponse(u'Joining %s', event.target_channel,
94
94
                            target=event.sender['nick'])
95
 
        ibid.sources[event.source].join(event.channel)
 
95
        ibid.sources[event.source].join(event.target_channel)
96
96
 
97
97
class NickServ(Processor):
98
98
    event_types = (u'notice',)