initAccountResources

Reads, completes and saves the user classification JSON file, creating one if one doesn't exist. Removes any duplicate entries.

This ensures there will be "staff", "operator", "elevated", "whitelist" and "blacklist" arrays in it.

version(WithPersistenceService)
private
void
initAccountResources

Parameters

service PersistenceService

The current PersistenceService.

Throws

IRCPluginInitialisationException

on failure loading the user.json file.