+ my ($file, $message, $rcstoken, $user, $ipaddr) = @_;
+
+ if (defined $user) {
+ $message = "web commit by $user" .
+ (length $message ? ": $message" : "");
+ }
+ elsif (defined $ipaddr) {
+ $message = "web commit from $ipaddr" .
+ (length $message ? ": $message" : "");
+ }