+#ifdef STATIC_LINK
+ this->staticname[0] = '\0';
+ log(DEBUG,"Loading core-compiled module '%s'",fname);
+ for (int j = 0; modsyms[j].name; j++)
+ {
+ log(DEBUG,"Check %s",modsyms[j].name);
+ if (!strcmp(modsyms[j].name,fname))
+ {
+ log(DEBUG,"Found %s",fname);
+ strlcpy(this->staticname,fname,1020);
+ err = 0;
+ return;
+ }
+ }
+ err = "Module is not statically compiled into the ircd";
+#else