diff options
Diffstat (limited to 'protocols/MRA/src/Mra_proto.cpp')
-rw-r--r-- | protocols/MRA/src/Mra_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp index 73b9d683f2..052cb10e8d 100644 --- a/protocols/MRA/src/Mra_proto.cpp +++ b/protocols/MRA/src/Mra_proto.cpp @@ -512,7 +512,7 @@ bool CMraProto::CmdUserInfo(BinBuffer &buf) int lpszDelimiter = szString.Find(':');
if (lpszDelimiter != -1) {
CMStringA szAddr(szString, lpszDelimiter);
- setDword("IP", HTONL(inet_addr(szAddr.c_str())));
+ setDword("IP", ntohl(inet_addr(szAddr.c_str())));
}
}
else if ( !_strnicmp(szString, "connect.xml", 11)) {
|