git-svn: trunk@2264
aCaB authored on 2006/09/15 03:55:36... | ... |
@@ -303,6 +303,13 @@ int acceptloop_th(int *socketds, int nsockets, struct cl_node *root, const struc |
303 | 303 |
logg("*Listening daemon: PID: %d\n", getpid()); |
304 | 304 |
max_threads = cfgopt(copt, "MaxThreads")->numarg; |
305 | 305 |
|
306 |
+#ifdef CL_EXPERIMENTAL |
|
307 |
+ if(!cfgopt(copt,"PhishingScanURLs")->enabled) |
|
308 |
+ options |= CL_SCAN_NOPHISHING; |
|
309 |
+ if(cfgopt(copt,"PhishingScanAllDomains")->enabled) |
|
310 |
+ options |= CL_PHISH_NO_DOMAINLIST; |
|
311 |
+#endif |
|
312 |
+ |
|
306 | 313 |
if(cfgopt(copt, "ScanArchive")->enabled || cfgopt(copt, "ClamukoScanArchive")->enabled) { |
307 | 314 |
|
308 | 315 |
/* set up limits */ |