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.7 by elmex, Fri Oct 5 08:14:23 2007 UTC vs.
Revision 1.9 by root, Wed Nov 14 08:09:46 2007 UTC

36sub handle_fcmd { 36sub handle_fcmd {
37 my ($name, $me, $msg) = @_; 37 my ($name, $me, $msg) = @_;
38 38
39 if ($msg eq "!who") { 39 if ($msg eq "!who") {
40 # clobbers irc, http is available 40 # clobbers irc, http is available
41 do_notice "see http://cf.schmorp.de/userlist.crossfire.schmorp.de.html"; 41 do_notice "see http://www.deliantra.net/userlist.crossfire.schmorp.de.html";
42# do_notice $_ 42# do_notice $_
43# for ext::commands::who_listing (0, "."); 43# for ext::commands::who_listing (0, ".");
44 44
45 } elsif ($msg =~ /^\!tell/) { 45 } elsif ($msg =~ /^\!tell/) {
46 my (undef, $target, $tmsg) = split / /, $msg, 3; 46 my (undef, $target, $tmsg) = split / /, $msg, 3;
105 0; 105 0;
106 } 106 }
107 ); 107 );
108} 108}
109 109
110Event->timer ( 110our $RECONNECT = cf::periodic 30, Coro::unblock_sub {
111 reentrant => 0, 111 check_connection;
112 after => 1, 112};
113 interval => 30,
114 data => cf::WF_AUTOCANCEL,
115 cb => Coro::unblock_sub { check_connection },
116);
117 113

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines