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.19 by root, Thu Apr 29 07:52:01 2010 UTC vs.
Revision 1.20 by root, Fri Feb 3 03:01:44 2012 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines