[Slashdotjp-dev 557] CVS update: slashjp/Slash

Back to archive index

Tatsuki SUGIURA sugi****@users*****
2006年 7月 13日 (木) 10:12:26 JST


Index: slashjp/Slash/Slash.pm
diff -u slashjp/Slash/Slash.pm:1.8 slashjp/Slash/Slash.pm:1.9
--- slashjp/Slash/Slash.pm:1.8	Wed Jul 12 21:24:21 2006
+++ slashjp/Slash/Slash.pm	Thu Jul 13 10:12:26 2006
@@ -1,7 +1,7 @@
 # This code is a part of Slash, and is released under the GPL.
 # Copyright 1997-2005 by Open Source Technology Group. See README
 # and COPYING for more information, or see http://slashcode.com/.
-# $Id: Slash.pm,v 1.8 2006/07/12 12:24:21 sugi Exp $
+# $Id: Slash.pm,v 1.9 2006/07/13 01:12:26 sugi Exp $
 
 package Slash;
 
@@ -333,10 +333,10 @@
 
 	# Adjust reasons. Do we need a reason?
 	# Are you threatening me?
-	my $reason_name = $reasons->{$C->{reason}}{name};
-	if ($reason_name && $user->{"reason_alter_$reason_name"}) {
+	my $reason_id = $reasons->{$C->{reason}}{id};
+	if ($reason_id && $user->{"reason_alter_$reason_id"}) {
 		$hr->{reason_bonus} =
-			$user->{"reason_alter_$reason_name"};
+			$user->{"reason_alter_$reason_id"};
 	}
 
 	# Keep your friends close but your enemies closer.


Slashdotjp-dev メーリングリストの案内
Back to archive index