From d59ad708023b64d8453b48c989bd5493a2c64ade Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Mon, 16 Apr 2018 15:42:34 +0900
Subject: [PATCH] Fix bug

---
 src/server/api/endpoints/users.ts | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/server/api/endpoints/users.ts b/src/server/api/endpoints/users.ts
index e82d72748c..ae33e8af0c 100644
--- a/src/server/api/endpoints/users.ts
+++ b/src/server/api/endpoints/users.ts
@@ -44,7 +44,9 @@ module.exports = (params, me) => new Promise(async (res, rej) => {
 
 	// Issue query
 	const users = await User
-		.find({}, {
+		.find({
+			host: null
+		}, {
 			limit: limit,
 			sort: _sort,
 			skip: offset