Response sender is not needed anymore, private channels are now better handled

This commit is contained in:
nemunaire 2014-09-18 07:57:06 +02:00
parent 5e202063d4
commit 772d68a34d
32 changed files with 161 additions and 182 deletions

View file

@ -26,4 +26,4 @@ class IRCException(Exception):
self.personnal = personnal
def fill_response(self, msg):
return Response(msg.sender, self.message, channel=msg.receivers, nick=(msg.nick if self.personnal else None))
return Response(self.message, channel=msg.receivers, nick=(msg.nick if self.personnal else None))