summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
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");