Updated the rest of the modules.

This commit is contained in:
Elijah Perrault committed 2011-02-15 22:04:09 -07:00
1 parent 42b58c73e9
commit 187de7cdef
5 files changed
+37 -42

No files matched your search

+3 -3
View File
@@ -36,7 +36,7 @@ our %HELP_FML = (
# Callback for FML command.
sub fml
{
my (%data) = @_;
my ($src, undef) = @_;
# Create an instance of LWP::UserAgent.
my $ua = LWP::UserAgent->new();
@@ -56,11 +56,11 @@ sub fml
my ($fml, undef) = split('Agree:', $dfa);
# And send to channel.
privmsg($data{svr}, $data{chan}, "\002Random FML:\002 ".$fml);
privmsg($src->{svr}, $src->{chan}, "\002Random FML:\002 ".$fml);
}
else {
# Otherwise, send an error message.
privmsg($data{svr}, $data{chan}, "An error occurred while retrieving the FML.");
privmsg($src->{svr}, $src->{chan}, "An error occurred while retrieving the FML.");
}
return 1;