Browse Source

Don't show default data tox users

These users have not set a profile name and so are probably not active
Bob Mottram 8 years ago
parent
commit
e96cae2a55
No account linked to committer's email
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/zeronetavahi

+ 1
- 1
src/zeronetavahi View File

@@ -115,7 +115,7 @@ function detect_tox_users {
115 115
 	toxctr=0
116 116
 	echo '<ol type="square">' >> $TOX_USERS_FILE.new
117 117
 	while IFS='' read -r line || [[ -n "$line" ]]; do
118
-		if [[ $line != "Failed*" ]]; then
118
+		if [[ $line != "Failed*" && $line != "data "* ]]; then
119 119
 			echo "  <li>$line</li>" >> $TOX_USERS_FILE.new
120 120
 			toxctr=$((toxctr + 1))
121 121
 		fi