]> ruin.nu Git - NDIRC.git/blobdiff - ndawn.pl
Converted .op, .deop, .voice and .devoice
[NDIRC.git] / ndawn.pl
index ffb7e5851a9ec17c1c396af7722d7887b6290a49..744aef4a17ca8519c2b44833c560b47831f679c3 100644 (file)
--- a/ndawn.pl
+++ b/ndawn.pl
@@ -55,10 +55,11 @@ my $TICK = $DBH->selectrow_array('SELECT tick()');
 
 my $disp = new NDIRC::Dispatcher;
 
-$disp->load('Basic','PA');
+$disp->load('Basic','PA','Channel');
 
-$disp->add_channel('#testarlite', ['pub','help']);
-$disp->add_channel('#testarmer', ['pub','help']);
+$disp->add_channel('#testarlite', ['pub','help','channel']);
+$disp->add_channel('#testarmer', ['pub','help','channel']);
+$disp->add_channel('pm', ['pub','help','pm']);
 
 sub event_pubmsg {
        my ($server, $msg, $nick, $address, $channel) = @_;