plugin.c: prevent re-adding read functions