diff options
author | Teddy Wing | 2017-08-20 15:04:50 +0200 |
---|---|---|
committer | Teddy Wing | 2017-08-20 15:15:15 +0200 |
commit | 3f39ebaa923ee5ce05a379313cbb046f093aa66a (patch) | |
tree | afc8e1761547dea1f1331b91b86ae213ff07fdfd /src/Plugin.hs | |
parent | 6009f91efd3dfd57122d2cf98d7255ec99ba8475 (diff) | |
download | sorbot-3f39ebaa923ee5ce05a379313cbb046f093aa66a.tar.bz2 |
IRC: Send private messages when plugin is `queryOnly`
If the plugin is defined as `queryOnly`, the response shouldn't be sent
on the channel to everyone, it should instead be sent directly to the
user in a private query message.
Enable this functionality for the Help plugin so that help output only
gets sent to the user requesting help. This ensures other channel
participants don't get an annoyingly long section of output that they
didn't ask for.
Diffstat (limited to 'src/Plugin.hs')
0 files changed, 0 insertions, 0 deletions