Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

brmd::Log notify_door_open: Add logging routine

  • Loading branch information...
commit 651aeffaf9c68b68d28014b9a5a89f288adc7e5d 1 parent 6a71581
Petr Baudis authored October 20, 2011

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. 6  brmd/brmd.pl
6  brmd/brmd.pl
@@ -814,6 +814,12 @@ sub notify_door_unlocked {
814 814
 	info ("[door] unlocked by " . $nick);
815 815
 }
816 816
 
  817
+sub notify_door_open {
  818
+	my ($sender, $newstate, $alert) = @_[SENDER, ARG0, ARG1];
  819
+
  820
+	info ("[door] $newstate (alert $alert)");
  821
+}
  822
+
817 823
 1;
818 824
 
819 825
 

0 notes on commit 651aeff

Please sign in to comment.
Something went wrong with that request. Please try again.