From f68646d155b9f7f5ca583f64fc86a2bf3ed44865 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Thu, 21 Apr 2011 18:51:23 -0600 Subject: [PATCH] Small bug fix. --- modules/Werewolf.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Werewolf.pm b/modules/Werewolf.pm index 3f9cfb8..aaf79e2 100644 --- a/modules/Werewolf.pm +++ b/modules/Werewolf.pm @@ -1207,7 +1207,7 @@ sub _init_day { } # Finally, check if the harlot was targeted and wasn't home. - if (_getrole($victim, 2) eq 'harlot' and $VISIT) { if ($VISIT != 1) { + if (_getrole($victim, 2) eq 'harlot' and $VISIT) { if ($VISIT ne 1) { privmsg($gsvr, $gchan, 'The wolves attempted to attack the harlot last night, but (s)he wasn\'t home...'); $victim = 0; } }