Changeset 684 for tools

Show
Ignore:
Timestamp:
10/21/07 22:39:52 (15 months ago)
Author:
michiel
Message:

try to fix the commit message error with only 1 line in the message

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tools/nsa/nsa.py

    r668 r684  
    219219        def say_it(self, text): 
    220220                lines = text.split("\n") 
    221                 for line in lines: 
    222                         self.connection.privmsg(self.channel, line) 
     221                if len(lines) > 1: 
     222                        for line in lines: 
     223                                self.connection.privmsg(self.channel, line) 
     224                else: 
     225                        self.connection.privmsg(self.channel, text) 
    223226 
    224227        def start(self):