avoid RT __WARN__ handler harder
[freeside.git] / FS / FS / TicketSystem / RT_Internal.pm
index 939aa40..b09647e 100644 (file)
@@ -92,7 +92,7 @@ sub init {
   # this needs to be done on each fork
   warn "$me init: initializing RT\n" if $DEBUG;
   {
-    local $SIG{__WARN};
+    local $SIG{__WARN__};
     local $SIG{__DIE__};
     eval 'RT::Init("NoSignalHandlers"=>1);';
   }