Added configuration question for color.

This commit is contained in:
Jeremy Fincher 2003-08-22 20:58:58 +00:00
parent 11c7124203
commit 436dc54ac3

View File

@ -87,6 +87,8 @@ def configure(onStart, afterConnect, advanced):
while yn('Would like to relay between any more channels?') == 'y': while yn('Would like to relay between any more channels?') == 'y':
channel = anything('What channel?') channel = anything('What channel?')
afterConnect.append('relayjoin %s' % channel) afterConnect.append('relayjoin %s' % channel)
if yn('Would you like to use color to distinguish between nicks?') == 'y':
afterConnect.append('relaycolor 2')
class Relay(callbacks.Privmsg): class Relay(callbacks.Privmsg):