diff options
-rw-r--r-- | protocols/FacebookRM/src/chat.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/chat.cpp b/protocols/FacebookRM/src/chat.cpp index c645140442..d271b544f9 100644 --- a/protocols/FacebookRM/src/chat.cpp +++ b/protocols/FacebookRM/src/chat.cpp @@ -3,7 +3,7 @@ Facebook plugin for Miranda Instant Messenger _____________________________________________ -Copyright © 2011-17 Robert Pösel +Copyright � 2011-17 Robert P�sel This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -265,10 +265,9 @@ INT_PTR FacebookProto::OnJoinChat(WPARAM hContact, LPARAM) return 0; ptrW idT(getWStringA(hContact, "ChatRoomID")); - ptrW nameT(getWStringA(hContact, "Nick")); ptrA threadId(getStringA(hContact, FACEBOOK_KEY_TID)); - if (!idT || !nameT || !threadId) + if (!idT || !threadId) return 0; facebook_chatroom *fbc; |