keep capitals for now to reduce issues
This commit is contained in:
parent
ba21f11f6b
commit
0100f1d071
2
bot.py
2
bot.py
|
@ -58,7 +58,7 @@ try:
|
|||
for name, conf in bot.config['connections'].iteritems():
|
||||
# strip all spaces and capitalization from the connection name
|
||||
name = name.replace(" ", "_")
|
||||
name = re.sub('[^A-Za-z0-9_]+', '', name).lower()
|
||||
name = re.sub('[^A-Za-z0-9_]+', '', name)
|
||||
print 'Connecting to server: %s' % conf['server']
|
||||
if conf.get('ssl'):
|
||||
bot.conns[name] = SSLIRC(name, conf['server'], conf['nick'], conf=conf,
|
||||
|
|
Reference in a new issue