summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-10-02 16:37:30 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-10-02 16:37:30 +0000
commit2ccd7108b3ff10562a47fea28285bccef7b0fddc (patch)
treeb983395fc6f97514a5b49db09ace3e7066e405f0 /protocols
parent64cfd8d4bd3a5d0da31eab8df5356f697f3d1dc4 (diff)
IRC: coverity fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15491 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/IRCG/src/irclib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IRCG/src/irclib.cpp b/protocols/IRCG/src/irclib.cpp
index 8c19c1c7b3..a78383f4a5 100644
--- a/protocols/IRCG/src/irclib.cpp
+++ b/protocols/IRCG/src/irclib.cpp
@@ -255,7 +255,7 @@ void CIrcProto::Disconnect(void)
KillIdent();
- if (m_quitMessage && m_quitMessage[0])
+ if (m_quitMessage[0])
NLSend(_T("QUIT :%s\r\n"), m_quitMessage);
else
NLSend("QUIT \r\n");