diff options
author | George Hazan <ghazan@miranda.im> | 2022-01-20 18:19:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-01-20 18:19:21 +0300 |
commit | 055f58333a846d1be947c662f2736f3e8953cee5 (patch) | |
tree | 7f4cfbee84e408d37c878bc54bfc19d201b8b699 /protocols/IRCG/src/ircproto.cpp | |
parent | 74d5c3ad61cfd5cb656b8a1cb52d153913d2b7a1 (diff) |
fixes #3000 (IRC: не нужно сообщать об ошибках протокола, если он не в сети)
Diffstat (limited to 'protocols/IRCG/src/ircproto.cpp')
-rw-r--r-- | protocols/IRCG/src/ircproto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IRCG/src/ircproto.cpp b/protocols/IRCG/src/ircproto.cpp index 28f5e032f7..365b3eeb51 100644 --- a/protocols/IRCG/src/ircproto.cpp +++ b/protocols/IRCG/src/ircproto.cpp @@ -627,7 +627,7 @@ int CIrcProto::SetStatus(int iNewStatus) int CIrcProto::SetStatusInternal(int iNewStatus, bool bIsInternal)
{
- if (iNewStatus != ID_STATUS_OFFLINE && !m_nick[0] || !m_userID[0] || !m_name[0]) {
+ if (iNewStatus != ID_STATUS_OFFLINE && (!m_nick[0] || !m_userID[0] || !m_name[0])) {
Clist_TrayNotifyW(m_szModuleName, TranslateT("IRC error"), TranslateT("Connection cannot be established! You have not completed all necessary fields (Nickname, User ID and Full name)."), NIIF_ERROR, 15000);
return 0;
}
|