소스 검색

users list only show socks users

master
Robin Thoni 9 년 전
부모
커밋
b9d39d8ca4
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      daemon/daemon/mainclass.cpp

+ 2
- 1
daemon/daemon/mainclass.cpp 파일 보기

@@ -34,7 +34,8 @@ void MainClass::execute(PacketType type, QByteArray queryData, PTSocket* sock)
34 34
 	{
35 35
 		QStringList users;
36 36
 		foreach(EpiUser user, Epimafia::loadUsers())
37
-			users << user.getLogin();
37
+			if(user.hasPwd_socks())
38
+				users << user.getLogin();
38 39
 		resp << users;
39 40
 	}
40 41
 	else if(type == UsersAdd)

Loading…
취소
저장