brmd::Log notify_door_open: Add logging routine

This commit is contained in:
Petr Baudis 2011-10-20 14:20:52 +02:00
parent 6a71581c74
commit 651aeffaf9

View file

@ -814,6 +814,12 @@ sub notify_door_unlocked {
info ("[door] unlocked by " . $nick);
}
sub notify_door_open {
my ($sender, $newstate, $alert) = @_[SENDER, ARG0, ARG1];
info ("[door] $newstate (alert $alert)");
}
1;