From 35603fe52927b3462494551898cf457d3062b2c0 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Sun, 24 Feb 2019 23:00:03 +0100 Subject: [PATCH] Add ircpm type for irc specific commands --- Commands/Basic.pm | 4 ++-- Commands/Channel.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Commands/Basic.pm b/Commands/Basic.pm index d0570f6..6517e38 100644 --- a/Commands/Basic.pm +++ b/Commands/Basic.pm @@ -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) { diff --git a/Commands/Channel.pm b/Commands/Channel.pm index 2206072..1c3a762 100644 --- a/Commands/Channel.pm +++ b/Commands/Channel.pm @@ -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'; -- 2.39.2