diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 376dc3b7fc..a2a5745d28 100644 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -296,7 +296,7 @@ LBL_Exit: db_free(&dbv);
}
- if (*trtrim(info->username) == '\0') {
+ if (*rtrimt(info->username) == '\0') {
DWORD dwSize = SIZEOF(info->username);
if (GetUserName(info->username, &dwSize))
JSetStringT(NULL, "LoginName", info->username);
@@ -304,7 +304,7 @@ LBL_Exit: info->username[0] = 0;
}
- if (*trtrim(info->username) == '\0') {
+ if (*rtrimt(info->username) == '\0') {
Log("Thread ended, login name is not configured");
JSendBroadcast(NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_BADUSERID);
LBL_FatalError:
|