From a323264eb30396afad54b1fd2891a118811b8e97 Mon Sep 17 00:00:00 2001 From: Doug Freed Date: Sun, 29 Nov 2015 00:49:04 +0400 Subject: Only dprint on_whofuckedup called when we care --- lib/ASM/Event.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ASM/Event.pm b/lib/ASM/Event.pm index 905ada8..3adfa9c 100644 --- a/lib/ASM/Event.pm +++ b/lib/ASM/Event.pm @@ -865,12 +865,12 @@ sub on_whoxover sub on_whofuckedup { my ($conn, $event) = @_; - ASM::Util->dprint('on_whofuckedup called!', 'sync'); if ($event->{args}->[1] eq "STATS") { #most likely this is getting called because we did stats p too often. #unfortunately the server doesn't let us know what exactly we called stats for. #anyways, we don't need to do anything for this } else { #dunno why it got called, print the data and I'll add a handler for it. + ASM::Util->dprint('on_whofuckedup called!', 'sync'); ASM::Util->dprint(Dumper($event), 'sync'); } } -- cgit v1.2.3