Sanitize topic message 40/head
authorFlorent Castelli <florent.castelli@gmail.com>
Wed, 16 Oct 2013 21:15:23 +0000 (23:15 +0200)
committerFlorent Castelli <florent.castelli@gmail.com>
Wed, 16 Oct 2013 21:15:23 +0000 (23:15 +0200)
commitf04db2cb802b1296ca739c823495930c71d3b4ab
treef5beee3117f2eb8a932e5ff22a6aedf0117ca312
parent5b1428bf281a0142c9286380eec3d0655c39fc44
Sanitize topic message

The code handling the topic message isn't expecting any new lines
since it is usually not possible to have any from the IRC specs.
But we can have some Unicode new lines instead!
Qt is happily converting them to simple new lines which then crashes
the client with a stack overflow.
src/qtui/topicwidget.cpp
src/qtui/topicwidget.h