diff options
author | leecher1337 <leecher@dose.0wnz.at> | 2017-10-31 00:24:12 +0100 |
---|---|---|
committer | leecher1337 <leecher@dose.0wnz.at> | 2017-10-31 00:24:12 +0100 |
commit | ce8b02d7c3df822605392d3e8e6f817953af0864 (patch) | |
tree | 274e964fd96b8e260e27c547e28f472797a414ff /protocols/MSN/src | |
parent | 1d0b695325e4a1d11c9986403766041e1be2ef4f (diff) |
MSN: Added processing of error 999 (logoff).
Diffstat (limited to 'protocols/MSN/src')
-rw-r--r-- | protocols/MSN/src/msn_errors.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/MSN/src/msn_errors.cpp b/protocols/MSN/src/msn_errors.cpp index 11255290f7..b53d66e323 100644 --- a/protocols/MSN/src/msn_errors.cpp +++ b/protocols/MSN/src/msn_errors.cpp @@ -111,6 +111,10 @@ int CMsnProto::MSN_HandleErrors(ThreadData* info, char* cmdString) ProtoBroadcastAck(NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_WRONGPASSWORD);
return 1;
+ case 999:
+ MSN_ShowError("Unknown error (999) occured, logging off");
+ return 1;
+
default:
debugLogA("Unprocessed error: %s", cmdString);
if (errorCode >= 500) //all these errors look fatal-ish
|