]> ruin.nu Git - NDIRC.git/commitdiff
Add ircpm type for irc specific commands
authorMichael Andreen <harv@ruin.nu>
Sun, 24 Feb 2019 22:00:03 +0000 (23:00 +0100)
committerMichael Andreen <harv@ruin.nu>
Thu, 21 Mar 2019 15:47:50 +0000 (16:47 +0100)
Commands/Basic.pm
Commands/Channel.pm

index d0570f6c432070d423735d4ac6608ae4319fd420..6517e384b94660353a53209b424a8ea1b41420ee 100644 (file)
@@ -58,7 +58,7 @@ command help => {
 
 command say => {
        help => q(.say target message | sends message to target),
-       type => q(pm),
+       type => q(ircpm),
        acl => q(irc_say),
 }, class extends NDIRC::Command {
        method execute ($c,$msg) {
@@ -70,7 +70,7 @@ command say => {
 
 command cmd => {
        help => q(.cmd command args | run a given irc command),
-       type => q(pm),
+       type => q(ircpm),
        acl  => q(irc_cmd),
 }, class extends NDIRC::Command {
        method execute ($c,$msg) {
index 2206072bcc1c14af56bcdb882f5b623020eb4c9c..1c3a76248a4d088ee89ffe3e00e0db79a5cdc8d8 100644 (file)
@@ -77,7 +77,7 @@ command devoice => {
 
 command invite => {
        help => q(Syntax: invite [channel] | If no channel is specified it invites you to all channel you have auto invite access on),
-       type => q(pm)
+       type => q(ircpm)
 }, class extends NDIRC::Command {
        method execute ($c,$msg) {
                my ($channel) = $msg =~ /^\s*(\S+)?\s*$/ or die 'ARGS';