diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index af5f4ef3..bf63289e 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -153,13 +153,14 @@ sub export_factoids { open FILE, "> $filename" or return "Could not open export path."; + my $botnick = $self->{pbot}->{registry}->get_value('irc', 'botnick'); my $time = localtime; print FILE "\n\n"; print FILE '' . "\n"; print FILE '' . "\n"; print FILE '' . "\n"; print FILE "\nLast updated at $time\n"; - print FILE "

Candide's factoids

\n"; + print FILE "

$botnick\'s factoids

\n"; my $i = 0; my $table_id = 1; diff --git a/Plugins/Quotegrabs.pm b/Plugins/Quotegrabs.pm index 85959570..e06f490d 100644 --- a/Plugins/Quotegrabs.pm +++ b/Plugins/Quotegrabs.pm @@ -78,11 +78,12 @@ sub export_quotegrabs { my $had_table = 0; open FILE, "> $self->{export_path}" or return "Could not open export path."; my $time = localtime; + my $botnick = $self->{pbot}->{registry}->get_value('irc', 'botnick'); print FILE "\n\n"; print FILE '' . "\n"; print FILE '' . "\n"; print FILE '' . "\n"; - print FILE "\nGenerated at $time

Candide's Quotegrabs

\n"; + print FILE "\nGenerated at $time

$botnick\'s Quotegrabs

\n"; my $i = 0; my $last_channel = "";