X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=blobdiff_plain;f=Bot.pm;h=1f5ff2102e50db0c18139449920b2bd969f884be;hp=9bf39f9ae09c612b88bdca9100558b1a4f505955;hb=bd6624a4e56ad6968b57b76786ebd8787433ead4;hpb=036bfadee395d5ec8bfa4e00b05077a90a8d232a diff --git a/Bot.pm b/Bot.pm index 9bf39f9..1f5ff21 100644 --- a/Bot.pm +++ b/Bot.pm @@ -36,7 +36,7 @@ use Mojo::Discord; use Mojo::IOLoop; use NDIRC::Dispatcher; -use NDIRC::Context; +use NDIRC::IrcContext; use IO::File; @@ -376,7 +376,7 @@ sub parseCommand { } $address =~ s/.*@(.*)/$1/; - my $c = NDIRC::Context->new({ + my $c = NDIRC::IrcContext->new({ host => $address, nick => $nick, channel => $channel,