91 for dest in Config.get_node('bridges').get_value (sourceName, []): |
91 for dest in Config.get_node('bridges').get_value (sourceName, []): |
92 try: |
92 try: |
93 # Stuff some control characters into the name so that this doesn't cause people who |
93 # Stuff some control characters into the name so that this doesn't cause people who |
94 # are on both ends of the bridge to highlight themselves |
94 # are on both ends of the bridge to highlight themselves |
95 # sender = sender[0:len(sender)/2] + (Irc.BoldChar * 2) |
95 # sender = sender[0:len(sender)/2] + (Irc.BoldChar * 2) |
96 sender += '_' |
96 # sender += '_' |
|
97 sender = sender[:len(sender)/2] + '`' + sender[len(sender)/2:] |
97 |
98 |
98 clientName, channelName = dest.split ('/') |
99 clientName, channelName = dest.split ('/') |
99 Irc.get_client (clientName).privmsg (channelName, |
100 Irc.get_client (clientName).privmsg (channelName, |
100 '[%s/%s] <%s> %s' % (bot.name, channel, sender, message)) |
101 '[%s/%s] <%s> %s' % (bot.name, channel, sender, message)) |
101 except Exception as e: |
102 except Exception as e: |