fixed a bug which prevented the bot from connecting

the lines which contained the connection data contained newline
symbols; now they're stripped.