ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.220 by root, Sat Feb 17 23:54:35 2007 UTC vs.
Revision 1.221 by pippijn, Fri Mar 2 13:32:52 2007 UTC

1052 1052
1053 # nuke player maps 1053 # nuke player maps
1054 $cf::MAP{$_}->nuke for grep /$prefix/, keys %cf::MAP; 1054 $cf::MAP{$_}->nuke for grep /$prefix/, keys %cf::MAP;
1055 1055
1056 IO::AIO::aio_rmtree $temp; 1056 IO::AIO::aio_rmtree $temp;
1057}
1058
1059=item $pl->kick
1060
1061Kicks a player out of the game. This destroys the connection.
1062
1063=cut
1064
1065sub kick {
1066 my ($pl, $kicker) = @_;
1067
1068 $pl->invoke (cf::EVENT_PLAYER_KICK, $kicker);
1069 $pl->killer ("kicked");
1070 $pl->ns->destroy;
1057} 1071}
1058 1072
1059=item cf::player::list_logins 1073=item cf::player::list_logins
1060 1074
1061Returns am arrayref of all valid playernames in the system, can take a 1075Returns am arrayref of all valid playernames in the system, can take a

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines