Fix all the modules.

This commit is contained in:
Elijah Perrault committed 2011-02-17 22:33:14 -07:00
1 parent 43e6ce1aaa
commit ec627df22e
13 files changed
+43 -38

No files matched your search

+2 -2
View File
@@ -70,7 +70,7 @@ sub actonbadword
}
API::Std::mod_init('Badwords', 'Xelhua', '1.00', '3.0.0d', __PACKAGE__);
API::Std::mod_init('Badwords', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: perl=5.010000
@@ -122,6 +122,6 @@ Changing the obvious to your wish.
=over
This module is compatible with Auto version 3.0.0a3+.
This module is compatible with Auto version 3.0.0a4+.
=back
+4 -4
View File
@@ -118,7 +118,7 @@ sub reverse
# Start initialization.
API::Std::mod_init("Bitly", "Xelhua", "1.00", "3.0.0d", __PACKAGE__);
API::Std::mod_init('Bitly', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: cpan=LWP::UserAgent,URI::Escape perl=5.010000
@@ -176,9 +176,9 @@ Add Bitly to module auto-load and the following to your configuration file:
=over
This module adds extra dependencies: LWP::UserAgent and URI::Escape.
You can get it from the CPAN <http://www.cpan.org>.
This module adds extra dependencies: LWP::UserAgent and URI::Escape. You can
get it from the CPAN <http://www.cpan.org>.
This module is compatible with Auto version 3.0.0a2+.
This module is compatible with Auto version 3.0.0a4+.
=back
+2 -7
View File
@@ -13,11 +13,6 @@ use JSON -support_by_pp;
# Initialization subroutine.
sub _init
{
# Check for JSON::PP.
eval {
require JSON::PP;
1;
} or return 0;
# Create the CALC command.
cmd_add("CALC", 0, 0, \%M::Calc::HELP_CALC, \&M::Calc::calc) or return 0;
@@ -83,7 +78,7 @@ sub calc
}
# Start initialization.
API::Std::mod_init("Calc", "Xelhua", "1.00", "3.0.0d", __PACKAGE__);
API::Std::mod_init('Calc', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: cpan=LWP::UserAgent,URI::Escape,JSON,JSON::PP perl=5.010000
@@ -124,6 +119,6 @@ Google Calculator.
This module requires LWP::UserAgent, URI::Escape and JSON/JSON::PP.
All are obtainable from the CPAN <http://www.cpan.org>.
This module is compatible with Auto version 3.0.0a2+.
This module is compatible with Auto version 3.0.0a4+.
=back
+1 -1
View File
@@ -282,7 +282,7 @@ sub _getdata
}
API::Std::mod_init('ChanTopics', 'Xelhua', '1.00', '3.0.0d', __PACKAGE__);
API::Std::mod_init('ChanTopics', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: perl=5.010000
+1 -1
View File
@@ -75,7 +75,7 @@ sub cmd_dict
# Start initialization.
API::Std::mod_init('Dictionary', 'Xelhua', '1.00', '3.0.0d', __PACKAGE__);
API::Std::mod_init('Dictionary', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: cpan=Net::Dict perl=5.010000
+6 -6
View File
@@ -13,8 +13,8 @@ our $ANSWER = 0;
sub _init
{
# Create the 8BALL and RIGBALL commands.
cmd_add("8BALL", 0, 0, \%M::EightBall::HELP_8BALL, \&M::EightBall::c_8ball) or return 0;
cmd_add("RIGBALL", 1, "cmd.rigball", \%M::EightBall::HELP_RIGBALL, \&M::EightBall::rigball) or return 0;
cmd_add('8BALL', 0, 0, \%M::EightBall::HELP_8BALL, \&M::EightBall::c_8ball) or return 0;
cmd_add('RIGBALL', 1, 'cmd.rigball', \%M::EightBall::HELP_RIGBALL, \&M::EightBall::rigball) or return 0;
# Success.
return 1;
@@ -24,8 +24,8 @@ sub _init
sub _void
{
# Delete the 8BALL and RIGBALL commands.
cmd_del("8BALL") or return 0;
cmd_del("RIGBALL") or return 0;
cmd_del('8BALL') or return 0;
cmd_del('RIGBALL') or return 0;
# Success.
return 1;
@@ -99,7 +99,7 @@ sub rigball
# Start initialization.
API::Std::mod_init("EightBall", "Xelhua", "1.00", "3.0.0d", __PACKAGE__);
API::Std::mod_init('EightBall', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: perl=5.010000
@@ -143,7 +143,7 @@ command for setting ("rigging") the 8-Ball's next answer.
=over
This module is compatible with Auto version 3.0.0a2+.
This module is compatible with Auto version 3.0.0a4+.
Ported from Auto 1.0.
+5 -5
View File
@@ -12,7 +12,7 @@ use LWP::UserAgent;
sub _init
{
# Create the FML command.
cmd_add("FML", 0, 0, \%M::FML::HELP_FML, \&M::FML::fml) or return 0;
cmd_add('FML', 0, 0, \%M::FML::HELP_FML, \&M::FML::fml) or return 0;
# Success.
return 1;
@@ -22,7 +22,7 @@ sub _init
sub _void
{
# Delete the FML command.
cmd_del("FML") or return 0;
cmd_del('FML') or return 0;
# Success.
return 1;
@@ -44,7 +44,7 @@ sub fml
$ua->timeout(2);
# Get the random FML via HTTP.
my $rp = $ua->get("http://rscript.org/lookup.php?type=fml");
my $rp = $ua->get('http://rscript.org/lookup.php?type=fml');
if ($rp->is_success) {
# If successful, decode the content.
@@ -67,7 +67,7 @@ sub fml
}
# Start initialization.
API::Std::mod_init("FML", "Xelhua", "1.00", "3.0.0d", __PACKAGE__);
API::Std::mod_init('FML', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: cpan=LWP::UserAgent perl=5.010000
@@ -110,7 +110,7 @@ have my hand back?" FML
This module adds an extra dependency: LWP::UserAgent. You can get it from
the CPAN <http://www.cpan.org>.
This module is compatible with Auto version 3.0.0a2+.
This module is compatible with Auto version 3.0.0a4+.
Ported from Auto 2.0.
+1 -1
View File
@@ -125,7 +125,7 @@ sub hook_rcjoin
}
# Start initialization.
API::Std::mod_init('Greet', 'Xelhua', '1.00', '3.0.0d', __PACKAGE__);
API::Std::mod_init('Greet', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: perl=5.010000
+11 -1
View File
@@ -36,6 +36,16 @@ sub hello
# Start initialization.
API::Std::mod_init("HelloChan", "Xelhua", "1.00", "3.0.0d", __PACKAGE__);
API::Std::mod_init('HelloChan', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: perl=5.010000
__END__
=head1 HelloChan
=over
This is an example module. Also, cows go moo.
=back
+4 -4
View File
@@ -12,7 +12,7 @@ use LWP::UserAgent;
sub _init
{
# Create the ISITUP command.
cmd_add("ISITUP", 0, 0, \%M::IsItUp::HELP_ISITUP, \&M::IsItUp::check) or return 0;
cmd_add('ISITUP', 0, 0, \%M::IsItUp::HELP_ISITUP, \&M::IsItUp::check) or return 0;
# Success.
return 1;
@@ -22,7 +22,7 @@ sub _init
sub _void
{
# Delete the ISITUP command.
cmd_del("ISITUP") or return 0;
cmd_del('ISITUP') or return 0;
# Success.
return 1;
@@ -69,7 +69,7 @@ sub check
}
# Start initialization.
API::Std::mod_init('IsItUp', 'Xelhua', '1.00', '3.0.0d', __PACKAGE__);
API::Std::mod_init('IsItUp', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: cpan=LWP::UserAgent perl=5.010000
@@ -110,6 +110,6 @@ appears up or down to Auto.
This module requires LWP::UserAgent. You can get it from
the CPAN <http://www.cpan.org>.
This module is compatible with Auto version 3.0.0a2+.
This module is compatible with Auto version 3.0.0a4+.
=back
+1 -1
View File
@@ -138,7 +138,7 @@ sub cmd_qdb
}
API::Std::mod_init('QDB', 'Xelhua', '1.00', '3.0.0d', __PACKAGE__);
API::Std::mod_init('QDB', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: perl=5.010000
+3 -3
View File
@@ -130,13 +130,13 @@ sub handle_906
}
# Start initialization.
API::Std::mod_init("SASLAuth", "Xelhua", "1.00", "3.0.0d", __PACKAGE__);
API::Std::mod_init('SASLAuth', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: perl=5.010000
__END__
=head1 SASL Auth
=head1 SASLAuth
=head2 Description
@@ -188,6 +188,6 @@ block(s) you wish to use SASL with:
This adds an extra dependency: You must build Auto with the
--enable-sasl option.
This module is compatible with Auto v3.0.0a1+.
This module is compatible with Auto v3.0.0a4+.
=back
+2 -2
View File
@@ -78,7 +78,7 @@ sub weather
}
# Start initialization.
API::Std::mod_init("Weather", "Xelhua", "1.00", "3.0.0d", __PACKAGE__);
API::Std::mod_init('Weather', 'Xelhua', '1.00', '3.0.0a4', __PACKAGE__);
# vim: set ai sw=4 ts=4:
# build: cpan=LWP::UserAgent,XML::Simple perl=5.010000
@@ -121,6 +121,6 @@ From the NE at 9 MPH Gusting to 22 MPH Conditions: Overcast
This module requires LWP::UserAgent and XML::Simple. Both are
obtainable from CPAN <http://www.cpan.org>.
This module is compatible with Auto version 3.0.0a2+.
This module is compatible with Auto version 3.0.0a4+.
=back