~stefanor/ibid/multiline-501410

« back to all changes in this revision

Viewing changes to ibid/source/silc.py

  • Committer: Stefano Rivera
  • Date: 2009-12-30 18:34:43 UTC
  • Revision ID: stefano@rivera.za.net-20091230183443-eu9zzsiej86q24d9
Tab -> Space on IRC & SILC

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
            self.send(response)
71
71
 
72
72
    def send(self, response):
73
 
        message = response['reply'].replace('\n', ' ').encode('utf-8')
 
73
        message = response['reply'].expandtabs(1).replace('\n', ' ') \
 
74
                  .encode('utf-8')
74
75
        flags=0
75
76
        if response.get('action', False):
76
77
            flags=4