]> ruin.nu Git - NDIRC.git/blobdiff - Def.pm
Converted .anon for def
[NDIRC.git] / Def.pm
diff --git a/Def.pm b/Def.pm
index d3786a25bcc4badefb679c935087242ce7e112c2..7dbec8b1f761906ddc9b83ab80622d596b76524e 100644 (file)
--- a/Def.pm
+++ b/Def.pm
@@ -29,7 +29,7 @@ require Exporter;
 our @ISA = qw/Exporter/;
 
 our @EXPORT = qw/showCall setType takeCall covCall ignoreCall
-       defcall anon setDefPrio setCalc getCalc/;
+       defcall setDefPrio setCalc getCalc/;
 
 sub showCall {
        my ($msg,$command) = @_;
@@ -209,22 +209,6 @@ sub defcall {
        }
 }
 
-sub anon {
-       my ($msg,$command) = @_;
-       my ($target,$mess);
-       if (defined $msg && $msg =~ /^(\S+) (.+)$/){
-               $target = $1;
-               $mess = $2;
-       }else{
-               $ND::server->command("notice $ND::nick Usage: $command nick message");
-               return;
-       }
-       if (dc()){
-               $ND::server->command("msg $target ".chr(2).$mess);
-               $ND::server->command("msg $ND::target ".chr(3)."3$1 << $2");
-       }
-}
-
 sub setCalc {
        my ($msg,$command) = @_;
        my ($id, $calc);