summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_libstr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MSN/src/msn_libstr.cpp')
-rw-r--r--protocols/MSN/src/msn_libstr.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_libstr.cpp b/protocols/MSN/src/msn_libstr.cpp
index 741ccb41b6..2e1c52ca98 100644
--- a/protocols/MSN/src/msn_libstr.cpp
+++ b/protocols/MSN/src/msn_libstr.cpp
@@ -98,7 +98,10 @@ void parseWLID(char* wlid, char** net, char** email, char** inst)
col = strchr(wlid, ';');
if (col) {
*col = 0;
- if (inst) *inst = col + 1;
+ if (inst) {
+ *inst = col + 1;
+ if (strncmp(*inst, "epid=", 5)==0) *inst+=5;
+ }
}
else if (inst)
*inst = NULL;