#include "headers.h" BYTE UseKnownModList; #define MAXMODS 1024 char *KnownModules[MAXMODS]; int KnownModulesCount = 0; INT_PTR RegisterModule(WPARAM wParam, LPARAM lParam) { char **mods = (char**)wParam; int count = lParam; int i; for (i=0;iname,&dbv) && dbv.type == DBVT_ASCIIZ) { temp = (char*)mir_alloc((strlen(dbv.pszVal)+5)*sizeof(char)); if (!temp) break; strcpy(temp,dbv.pszVal); strcat(temp,",\0"); var = strtok(temp,", "); while (var) { if (KnownModulesCountnext; } FreeModuleSettingLL(&msll); UseKnownModList = DBGetContactSettingByte(NULL,modname,"UseKnownModList",0); }