Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

brmd::Log notify_door_open: Add logging routine

  • Loading branch information...
commit 651aeffaf9c68b68d28014b9a5a89f288adc7e5d 1 parent 6a71581
Petr Baudis pasky authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 brmd/brmd.pl
6 brmd/brmd.pl
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.