More tabs = gone.

This commit is contained in:
Elijah Perrault committed 2011-03-21 14:20:19 -06:00
1 parent ea775d4c98
commit 3cfe22e5c1
7 files changed
+46 -40

No files matched your search

+2 -2
View File
@@ -49,14 +49,14 @@ sub fml
if ($rp->is_success) {
# If successful, decode the content.
my $d = $rp->decoded_content;
$d =~ s/(\n|\r)//g;
$d =~ s/(\n|\r)//g;
# Get the FML.
my (undef, $dfa) = split('Text: ', $d);
my ($fml, undef) = split('Agree:', $dfa);
# And send to channel.
privmsg($src->{svr}, $src->{chan}, "\002Random FML:\002 ".$fml);
privmsg($src->{svr}, $src->{chan}, "\002Random FML:\002 ".$fml);
}
else {
# Otherwise, send an error message.