keep capitals for now to reduce issues
This commit is contained in:
parent
ba21f11f6b
commit
0100f1d071
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -58,7 +58,7 @@ try:
|
||||||
for name, conf in bot.config['connections'].iteritems():
|
for name, conf in bot.config['connections'].iteritems():
|
||||||
# strip all spaces and capitalization from the connection name
|
# strip all spaces and capitalization from the connection name
|
||||||
name = name.replace(" ", "_")
|
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']
|
print 'Connecting to server: %s' % conf['server']
|
||||||
if conf.get('ssl'):
|
if conf.get('ssl'):
|
||||||
bot.conns[name] = SSLIRC(name, conf['server'], conf['nick'], conf=conf,
|
bot.conns[name] = SSLIRC(name, conf['server'], conf['nick'], conf=conf,
|
||||||
|
|
Reference in a new issue