diff --git a/main.cpp b/main.cpp index b7e2e87..31f9754 100644 --- a/main.cpp +++ b/main.cpp @@ -89,6 +89,7 @@ DWORD Topics_List_map[TOPICS_COUNT] = { // 16,//"Голосование", // 17,//"lost/found", }; +const DWORD news_bit=15; #endif const char *UserStatus_List[USER_STATUS_COUNT] = { @@ -2489,12 +2490,13 @@ int main() if(topicsoverride > TOPICS_COUNT) currenttopics = 0xffffffff; // all else currenttopics = 1U << (topicsoverride - 1); } - for (int i = 0; i < TOPICS_COUNT; ++i) if (currenttopics & (1U << i)) currenttopics_map |= (1U << Topics_List_map[i]); - if (currenttopics_map & 1) + if (ULogin.LU.ID[0] == 0 ) currenttopics_map&= ~(1U<