Simplify CTCP parsing by default
authorBas Pape <baspape@gmail.com>
Tue, 25 Sep 2012 18:57:14 +0000 (20:57 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 19 Feb 2013 20:50:55 +0000 (21:50 +0100)
commita272baf28f926a9e66be767936dd38b6b4aa94da
tree0b3d2d2284b69844d87c23f8a18b863f9b34d018
parentbd5f012ca9d067c2ed55c8f2c5da1657fa81f994
Simplify CTCP parsing by default

Rather than adhering to the CTCP 'specification', reply only to single
CTCP messages without text around them. All messages not fitting the
requirements are simply displayed in the buffer. The old behaviour can
still be enabled in the settings dialog.

Fixes #1130
src/common/networkconfig.cpp
src/common/networkconfig.h
src/core/corenetworkconfig.h
src/core/ctcpparser.cpp
src/core/ctcpparser.h
src/qtui/settingspages/connectionsettingspage.cpp
src/qtui/settingspages/connectionsettingspage.ui