-rw-r--r-- | noncore/net/opieirc/ircmessage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircmessage.cpp b/noncore/net/opieirc/ircmessage.cpp index da8db77..f4b09bc 100644 --- a/noncore/net/opieirc/ircmessage.cpp +++ b/noncore/net/opieirc/ircmessage.cpp @@ -41,3 +41,3 @@ IRCMessage::IRCMessage(QString line) { /* last parameter */ - m_trailing = line.right(line.length() - line.find(QChar(':'), 1) - 1); + m_trailing = line.right(line.length() - line.find(" :") - 2); m_parameters << m_trailing; |