commit 42ceeb91d9d7b755b1f2ef1641e63084d0d0f60b from: Izzy Blacklock date: Mon Jul 31 21:23:20 2023 UTC corrected missing shared global vars commit - bf5366ed2abde2b2b7d05846b5c3fb514727db02 commit + 42ceeb91d9d7b755b1f2ef1641e63084d0d0f60b blob - 12589bdd0f879ca3a2111ecef0824dcf04fa1ff7 blob + 4fc2c6360fd8f0cda208003093d69c0290ec2d2f --- lib/IRCNOW/IO/IRC.pm +++ lib/IRCNOW/IO/IRC.pm @@ -1,4 +1,7 @@ package IRCNOW::IO::IRC; +use strict; +use warnings; + use Exporter 'import'; our @EXPORT_OK = qw( @@ -12,8 +15,12 @@ our @EXPORT_OK = qw( # Share the list of callbacks # Should do something like this in script calling this library -# my $call = IRCNOW::IO::IRC::call; +# my $call = $IRCNOW::IO::IRC::call; +# XXX these need to become an object our $call; +our @bots; +our $localnet; +our @stafflist; sub putserv { my( $bot, $text )=@_;