Make auth handers receive connection info

This commit is contained in:
Ron Pedde
2006-04-22 18:22:41 +00:00
parent 2fd2f15d23
commit eed9619063
8 changed files with 18 additions and 15 deletions

View File

@@ -316,6 +316,7 @@ int main(int argc, char *argv[]) {
/* load plugins before we drop privs? Maybe... let the
* plugins do stuff they might need to */
plugin_init();
if((plugindir=conf_alloc_string("plugins","plugin_dir",NULL)) != NULL) {
if(conf_get_array("plugins","plugins",&pluginarray)==TRUE) {
index = 0;