# A script with no MAIN namespace?
# A module that takes command line args?
-=head1 NAME
-
-C4::SIP::SIPServer
-
-=cut
-
# Set interface to 'sip'
C4::Context->interface('sip');
sub get_SIPServer {
unless($activeSIPServer) {
my @cc = caller(1);
- die "$cc[3]() asks for \$activeSIPServer, but it is not defined yet";
+ die "$cc[3]() asks for \$activeSIPServer, but he is not defined yet";
}
return $activeSIPServer;
}
sub get_logger {
unless($activeLogger) {
my @cc = caller(1);
- die "$cc[3]() asks for \$activeLogger, but it is not defined yet";
+ die "$cc[3]() asks for \$activeLogger, but he is not defined yet";
}
return $activeLogger;
}