ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/schmorp-irc.ext
(Generate patch)

Comparing deliantra/maps/perl/schmorp-irc.ext (file contents):
Revision 1.16 by root, Fri Sep 29 19:21:25 2006 UTC vs.
Revision 1.17 by root, Sun Oct 1 18:18:34 2006 UTC

3use Time::HiRes; 3use Time::HiRes;
4use Net::IRC3::Client::Connection; 4use Net::IRC3::Client::Connection;
5 5
6# requires: commands.ext 6# requires: commands.ext
7 7
8my $BOTSERVER = 'localhost'; 8return unless $cf::CFG{irc_server};
9my $BOTPORT = '6667'; 9
10my $BOTNAME = 'cfbot'; 10my $BOTSERVER = $cf::CFG{irc_server};
11my $BOTCHAN = '#cf'; 11my $BOTPORT = $cf::CFG{irc_port};
12my $BOTNAME = $cf::CFG{irc_nick};
13my $BOTCHAN = $cf::CFG{irc_chan};
12 14
13my $CON; # the connection 15my $CON; # the connection
14 16
15sub unload { 17sub unload {
16 $CON->disconnect if $CON; 18 $CON->disconnect if $CON;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines