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

Comparing deliantra/server/ext/irc.ext (file contents):
Revision 1.11 by root, Fri May 2 16:09:36 2008 UTC vs.
Revision 1.12 by root, Tue Aug 26 02:05:48 2008 UTC

5 5
6# requires: commands.ext 6# requires: commands.ext
7 7
8return unless exists $cf::CFG{irc_server}; 8return unless exists $cf::CFG{irc_server};
9 9
10my $BOTSERVER = $cf::CFG{irc_server}; 10my $BOTSERVER = $cf::CFG{irc_server} || "localhost";
11my $BOTPORT = $cf::CFG{irc_port}; 11my $BOTPORT = $cf::CFG{irc_port} || 6667;
12my $BOTNAME = $cf::CFG{irc_nick}; 12my $BOTNAME = $cf::CFG{irc_nick} || "server";
13my $BOTCHAN = $cf::CFG{irc_chan}; 13my $BOTCHAN = $cf::CFG{irc_chan} || "cf";
14 14
15my $CON; # the connection 15my $CON; # the connection
16 16
17sub unload { 17sub unload {
18 $CON->disconnect if $CON; 18 $CON->disconnect if $CON;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines