X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/4d5a902f0888f36c21597874373bc3fcd8ef9862..087555a00fdcf6ac6f71d5f4919c903673996d74:/ircd/newconf.c?ds=sidebyside diff --git a/ircd/newconf.c b/ircd/newconf.c index 72e6060a..27207ff0 100644 --- a/ircd/newconf.c +++ b/ircd/newconf.c @@ -300,7 +300,7 @@ conf_set_modules_module(void *data) m_bn = rb_basename((char *) data); - if(findmodule_byname(m_bn) == -1) + if(findmodule_byname(m_bn) == NULL) load_one_module((char *) data, MAPI_ORIGIN_EXTENSION, false); rb_free(m_bn); @@ -365,6 +365,7 @@ static struct mode_table connect_table[] = { { "encrypted", SERVER_ENCRYPTED }, { "topicburst", SERVER_TB }, { "ssl", SERVER_SSL }, + { "no-export", SERVER_NO_EXPORT }, { NULL, 0 }, };