summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_switchboard.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-06-05 14:14:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-06-05 14:14:54 +0300
commit9a80a756aa3bee92b85e09466b234c4c26c744b4 (patch)
tree5e6de095198102dee23e6ea4ba1d96e00c385753 /protocols/MSN/src/msn_switchboard.cpp
parent0407b43e6cab29046775ecaf73b31f2a7ee3b95b (diff)
MSN
- fix for rare crash; - all pre-MSNP24 code removed
Diffstat (limited to 'protocols/MSN/src/msn_switchboard.cpp')
-rw-r--r--protocols/MSN/src/msn_switchboard.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/protocols/MSN/src/msn_switchboard.cpp b/protocols/MSN/src/msn_switchboard.cpp
index f6e6664edd..fec422f88f 100644
--- a/protocols/MSN/src/msn_switchboard.cpp
+++ b/protocols/MSN/src/msn_switchboard.cpp
@@ -22,32 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
#include "msn_proto.h"
-#ifdef OBSOLETE
-
-int ThreadData::contactJoined(const char* email)
-{
- for (int i = 0; i < mJoinedContactsWLID.getCount(); i++)
- if (_stricmp(mJoinedContactsWLID[i], email) == 0)
- return mJoinedContactsWLID.getCount();
-
- if (strchr(email, ';'))
- mJoinedIdentContactsWLID.insertn(email);
- else
- mJoinedContactsWLID.insertn(email);
-
- return mJoinedContactsWLID.getCount();
-}
-
-int ThreadData::contactLeft(const char* email)
-{
- if (strchr(email, ';'))
- mJoinedIdentContactsWLID.remove(email);
- else
- mJoinedContactsWLID.remove(email);
-
- return mJoinedContactsWLID.getCount();
-}
-#endif
MCONTACT ThreadData::getContactHandle(void)
{