Call correct function on plugin shutdown

This commit is contained in:
2007-04-29 12:26:05 +00:00
parent 6e77894ac7
commit 244ec3f3d4

View File

@@ -16,7 +16,7 @@ void finish(void)
for (i = nplugins-1; i >= 0; i--) {
printf("Shutting down plugin '%s'\n", PT(i).pl_name);
(PT(i).pl_init)();
(PT(i).pl_shutdown)();
printf("Plugin '%s' shut down\n", PT(i).pl_name);
PT(i).pl_active = 0;
}