diff options
author | George Hazan <ghazan@miranda.im> | 2017-06-05 14:14:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-06-05 14:14:54 +0300 |
commit | 9a80a756aa3bee92b85e09466b234c4c26c744b4 (patch) | |
tree | 5e6de095198102dee23e6ea4ba1d96e00c385753 /protocols/MSN/src/msn_errors.cpp | |
parent | 0407b43e6cab29046775ecaf73b31f2a7ee3b95b (diff) |
MSN
- fix for rare crash;
- all pre-MSNP24 code removed
Diffstat (limited to 'protocols/MSN/src/msn_errors.cpp')
-rw-r--r-- | protocols/MSN/src/msn_errors.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/MSN/src/msn_errors.cpp b/protocols/MSN/src/msn_errors.cpp index 0b4e16f06c..f1259425e5 100644 --- a/protocols/MSN/src/msn_errors.cpp +++ b/protocols/MSN/src/msn_errors.cpp @@ -106,10 +106,8 @@ int CMsnProto::MSN_HandleErrors(ThreadData* info, char* cmdString) return 0;
case ERR_AUTHENTICATION_FAILED:
- if (info->mType != SERVER_SWITCHBOARD) {
- MSN_ShowError("Your username or password is incorrect");
- ProtoBroadcastAck(NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_WRONGPASSWORD);
- }
+ MSN_ShowError("Your username or password is incorrect");
+ ProtoBroadcastAck(NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_WRONGPASSWORD);
return 1;
default:
|