aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin')
-rw-r--r--Plugin/Autojoin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/Autojoin.pm b/Plugin/Autojoin.pm
index 0620ecd..73155ab 100644
--- a/Plugin/Autojoin.pm
+++ b/Plugin/Autojoin.pm
@@ -15,7 +15,7 @@ sub configure {
return $self;
}
-sub on_001 {
+sub on_welcome {
my ($self, $logger, $server, $message, $irc) = @_;
$irc->yield(join => $_) for @{$config->{channels}};
return;