summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/if-bob
blob: 4e8ae3c67fcd1a433c19c96da68f106a2aa2707b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# PRE: if
#
#  Matching "if" conditions
#
if (User-Name == "bob") {
	update reply {
		Filter-Id := "filter"
	}
}

if (User-Name != "bob") {
	update reply {
		Filter-Id := "not bob"
	}
}