handleSuspendTimer

Suspends or resumes a timer, by modifying Timer.suspended.

version(WithTimerPlugin)
private
void
handleSuspendTimer
(,
const ref IRCEvent event
,
string slice
,
const bool suspend
)

Parameters

plugin TimerPlugin

The current TimerPlugin.

event IRCEvent

The IRCEvent that requested the suspend or resume.

slice string

Relevant slice of the original request string.

suspend bool

Whether or not a suspend action was requested. If suspend: false, then a resume action was requested.