warnAboutOverwrittenString

Warns about twhen a string member of an IRCEvent is to be overwritten.

Note: Gated behind version TwitchWarnings.

version(TwitchSupport && TwitchWarnings)
private @safe
void
warnAboutOverwrittenString
(,
const string name
,
const string oldValue
,
const string newValue
,
const string key
,
const string tagType
,)

Parameters

event IRCEvent

The IRCEvent whose aux element was overwritten.

name string

The name of the string being overwritten.

key string

The key of the tag that is overwriting the string.

tagType string

The type of tag that is overwriting the string.

printTagsOnExit bool

Whether or not the caller should print the tags of the IRCEvent upon leaving its function.