mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 21:10:01 -08:00
Update tab_supervisor.cpp
This commit is contained in:
parent
cb55c793b6
commit
3b2d666494
1 changed files with 3 additions and 3 deletions
|
|
@ -450,12 +450,12 @@ void TabSupervisor::processUserMessageEvent(const Event_UserMessage &event)
|
|||
|
||||
UserListTWI *twi = tabUserLists->getAllUsersList()->getUsers().value(senderName);
|
||||
|
||||
ServerInfo_User Self;
|
||||
ServerInfo_User otherUser;
|
||||
|
||||
if (twi)
|
||||
Self = twi->getUserInfo();
|
||||
otherUser = twi->getUserInfo();
|
||||
else
|
||||
Self.set_name(senderName.toStdString());
|
||||
otherUser.set_name(senderName.toStdString());
|
||||
|
||||
UserLevelFlags SelfLevel = UserLevelFlags(Self.user_level());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue