Browse Source

users list only show socks users

master
Robin Thoni 9 years ago
parent
commit
b9d39d8ca4
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      daemon/daemon/mainclass.cpp

+ 2
- 1
daemon/daemon/mainclass.cpp View File

@@ -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…
Cancel
Save