X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=blobdiff_plain;f=Commands%2FDef.pm;h=ae206309ceb6bc8333c4375761cc4501bf0aeb68;hp=bdfc6776c9beaba28722f790246f886b40aea2e8;hb=5684c48c49dfeb5f75b10f70149debed1247c596;hpb=be6e9d0c7e6b2d13127b1f3be2d482a8da6a6339 diff --git a/Commands/Def.pm b/Commands/Def.pm index bdfc677..ae20630 100644 --- a/Commands/Def.pm +++ b/Commands/Def.pm @@ -25,20 +25,6 @@ use feature ':5.10'; use MooseX::Declare; use NDIRC::Dispatcher; -command anon => { - help => q(syntax: .anon nick message), - type => q(def), - acl => q(irc_anondef), -}, class extends NDIRC::Command { - method execute($c,$msg) { - - my ($target,$mess) = $msg =~ /^(\S+) (.*)$/ or die 'ARGS'; - - $c->message(privmsg => $target, "$mess"); - $c->message(privmsg => $c->channel, "$target << $mess"); - } -}; - command defcall => { help => q(syntax: .defcall [callid] | if a call id is given, then shiptypes and eta will be fetched from the database and added to the message), type => q(def),