Don't allow newlines in buffer names
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 8 Feb 2016 20:29:14 +0000 (21:29 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 8 Feb 2016 20:29:14 +0000 (21:29 +0100)
commitecf1ab29dd398f0e0beaff327443909096d24f55
tree0fd97154745c2133516cadc31c7ce88519f47eec
parent30cc5367bf38d8720e55ece5cab218c4b52e0dbf
Don't allow newlines in buffer names

Since it is possible to enter newlines when renaming a buffer via
the GUI, we need to have a sanity check that cuts off the additional
lines.

Fixes #1389.
src/client/networkmodel.cpp