summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter_rspamd.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/filter_rspamd.go b/filter_rspamd.go
index 5e71f2a..5b5a1a1 100644
--- a/filter_rspamd.go
+++ b/filter_rspamd.go
@@ -65,16 +65,16 @@ func txBegin(s *session, args []string) {
}
func txMail(s *session, args []string) {
- mail_from, status := args[7], args[8]
+ mailFrom, status := args[7], args[8]
if status == "ok" {
- s.control["From"] = mail_from
+ s.control["From"] = mailFrom
}
}
func txRcpt(s *session, args []string) {
- rcpt_to, status := args[7], args[8]
+ rcptTo, status := args[7], args[8]
if status == "ok" {
- s.control["Rcpt"] = rcpt_to
+ s.control["Rcpt"] = rcptTo
}
}