view tests/data/irccd-rules.conf @ 665:7ed23c858694

Tests: test irccdctl (rule-* commands) #785 While here, fix rule-edit which were triggering invalid_index because it was not added to the request. Also fix missing events from configuration file because they were forgotten. Finally, use std::set instead of std::unordered_set for a sorted output in rule-list and rule-info to ensure long-term compatibility in output.
author David Demelier <markand@malikania.fr>
date Thu, 29 Mar 2018 20:01:02 +0200
parents
children
line wrap: on
line source

[transport]
type        = "unix"
path        = "@CMAKE_BINARY_DIR@/tmp/irccd.sock"

[rule]
servers     = ( "s1", "s2" )
channels    = ( "c1", "c2" )
plugins     = ( "p1", "p2" )
events      = ( "onCommand", "onMessage" )
action      = "drop"

# vim: ft=cfg: