aboutsummaryrefslogtreecommitdiff
path: root/plugin/rewrite/class.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/rewrite/class.go')
-rw-r--r--plugin/rewrite/class.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/rewrite/class.go b/plugin/rewrite/class.go
index dceb4429b..6906dcf6c 100644
--- a/plugin/rewrite/class.go
+++ b/plugin/rewrite/class.go
@@ -29,7 +29,7 @@ func newClassRule(nextAction string, args ...string) (Rule, error) {
return &classRule{from, to, nextAction}, nil
}
-// Rewrite rewrites the the current request.
+// Rewrite rewrites the current request.
func (rule *classRule) Rewrite(ctx context.Context, state request.Request) Result {
if rule.fromClass > 0 && rule.toClass > 0 {
if state.Req.Question[0].Qclass == rule.fromClass {