irc: Split irc-bot-send-line into main functionality and action handler.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 24 Dec 2016 19:09:54 +0000 (13:09 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 24 Dec 2016 19:14:00 +0000 (13:14 -0600)
commit88ad8bc99a14d0037bad27ff3c576ebbabbf14f4
treec8127628dd86acc7e38503f51acbd7a77c8245d5
parent7b3f08078664ba2a09d204fe175b5b80f497b44f
irc: Split irc-bot-send-line into main functionality and action handler.

This allows irc-bot-send-line to be called directly.

* 8sync/systems/irc.scm (irc-bot-send-line): Update this procedure to
not have a message as one of the arguments so it can be called directly.
(irc-bot-send-line-action): Action handler, doing what irc-bot-send-line
previously did.
(<irc-bot>): Update actions mapping to point to irc-bot-send-line-action.
8sync/systems/irc.scm