]> ruin.nu Git - NDIRC.git/blobdiff - Bot.pm
reorganize context
[NDIRC.git] / Bot.pm
diff --git a/Bot.pm b/Bot.pm
index 9bf39f9ae09c612b88bdca9100558b1a4f505955..1f5ff2102e50db0c18139449920b2bd969f884be 100644 (file)
--- 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,