]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.cpp
Block all signals in threads other than main
[stg.git] / projects / stargazer / user_impl.cpp
index 6aca9cea06e69e4468f7f5303f844e52aa11882c..1278afa2de947124d604681a7617349cb3fa28f5 100644 (file)
@@ -484,7 +484,7 @@ for (int i = 0; i < DIR_NUM; i++)
     enabledDirs[i] = dirs & (1 << i);
     }
 
-if (authorizedBy.size())
+if (!authorizedBy.empty())
     {
     if (currIP != ip)
         {