]> ruin.nu Git - NDIRC.git/blobdiff - Def.pm
mved package from ND::IRC to NDIRC
[NDIRC.git] / Def.pm
diff --git a/Def.pm b/Def.pm
index 1f9c7d92a9d7db90767250975eed523b449323c9..c081f9a17c7ddb8498fa88678ab0684aa0eebae9 100644 (file)
--- a/Def.pm
+++ b/Def.pm
 #   Free Software Foundation, Inc.,                                       *
 #   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
 #**************************************************************************/
-package ND::IRC::Def;
+package NDIRC::Def;
 use strict;
 use warnings;
 use ND::DB;
 use ND::Include;
-use ND::IRC::Access;
-use ND::IRC::Misc;
+use NDIRC::Access;
+use NDIRC::Misc;
 require Exporter;
 
 our @ISA = qw/Exporter/;
@@ -82,7 +82,7 @@ sub setType {
                while (my ($id,$call,$oldtype,$coords,$tick) = $fleet->fetchrow()){
                        if($ND::DBH->do(q{UPDATE incomings SET shiptype = ? WHERE id = ?},undef,$type,$id) == 1){
                                log_message $user->{uid}, "DC set fleet: $id to: $type";
-                               $ND::server->command("msg $ND::target Set fleet from $coords on call $call to $type (previosly $oldtype)");
+                               $ND::server->command("msg $ND::target Set fleet from $coords on call $call to $type (previously $oldtype)");
                                if ($tick < 0 && not (defined $x && $x eq 'call')){
                                        $ND::server->command("msg $ND::target This call is old, did you use the call id, instead of inc id by accident? You can use .settypeall callid to set the type on all incs in a call.");
                                }