Skip to content

Commit

Permalink
oops (and thanks darix)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgl committed Jul 2, 2002
1 parent c2c1054 commit 3386233
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions nph-irc.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use vars qw(
);

($VERSION =
'$Name: $ 0_5_CVS $Id: nph-irc.cgi,v 1.60 2002/07/01 20:04:25 dgl Exp $'
'$Name: $ 0_5_CVS $Id: nph-irc.cgi,v 1.61 2002/07/02 15:32:51 dgl Exp $'
) =~ s/^.*?(\d\S+) .*$/$1/;
$VERSION =~ s/_/./g;

Expand Down Expand Up @@ -781,8 +781,9 @@ sub irc_send_message {
my($target, $text) = @_;
$event->handle('message ' .
(
$irc->is_channel($target) ? 'public' : 'private' .
$interface->query ? ' window' : ''
$irc->is_channel($target) ? 'public'
: 'private' .
($interface->query ? ' window' : '')
) . ' own',
{ target => $target, create => 1 },
$irc->{nick}, $irc->{myhost}, $text);
Expand Down

0 comments on commit 3386233

Please sign in to comment.