rehashUsers

Rehashes a plugin's users, both the ones in the IRCPluginState.users

associative array and the ones in each dialect.defs.IRCChannel.users associative arrays.

This optimises lookup and should be done every so often.

void
rehashUsers
(,
const string channelName = string.init
)

Parameters

plugin IRCPlugin

The current IRCPlugin.

channelName string

Optional name of the channel to rehash for. If none given it will rehash the main IRCPluginState.users

associative array instead.

Meta