changeset 104:02e452079659 draft

Supply maintainer's name to :mischief message with sprintf
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 19 Nov 2020 19:42:29 +0900
parents 734bfd8cbdc6
children 6455a0438570
files after5.rb
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/after5.rb	Thu Oct 08 11:07:31 2020 +0859
+++ b/after5.rb	Thu Nov 19 19:42:29 2020 +0900
@@ -4,7 +4,7 @@
 # Associative Scheduling Table - after5
 # (C)2003, 2004, 2006, 2008, 2012-2020 by HIROSE Yuuji [yuuji<at>gentei.org]
 # $Id: after5.rb,v 1.20 2012/12/03 15:54:20 yuuji Exp $
-# Last modified Thu Oct  8 11:06:06 2020 on firestorm
+# Last modified Thu Nov 19 19:40:13 2020 on firestorm
 # See http://www.gentei.org/~yuuji/software/after5/
 # このスクリプトはEUCで保存してください。
 $hgid = <<_HGID_.split[1..-2].join(" ")
@@ -1600,7 +1600,7 @@
 		 sprintf(msg('accessfrom'), ENV['REMOTE_ADDR']) +
 		 sprintf(@opt['url']) + "\n" +
 		 sprintf(msg('newpassword'), user, newp) +
-		 sprintf("%s\n", msg('mischief')))
+		 sprintf(msg('mischief'), @opt['maintainer']) + "\n")
 	@O.print @H.p(sprintf(msg('newaccount'), user))
 	@O.print @H.p(@H.a(@myname, msg('login')))
 	throw :auth, nil

yatex.org