Commit f5fa1f76 authored by stania's avatar stania

op이 없는 사람에 대한 처리에 일관성이 없던 문제를 해결


git-svn-id: file:///opt/nforge/var/svnroot/ith@5 79920038-ed10-4214-ad4f-3c8412597fe4
parent ab11e1c2
......@@ -5,8 +5,7 @@ $VERSION = "1";
%IRSSI = (
authors => "Timo Sirainen, Ian Peters, Stania Hwang",
contact => "tss\@iki.fi",
name => "Irssi Tunneling Helper",
description => "support server tunneling, based on Nickcolor",
name => "Irssi Tunneling Helper", description => "support server tunneling, based on Nickcolor",
license => "Public Domain",
url => "http://dev.upnl.org/projects/ith/",
changed => "2009-08-19T22:47+0900"
......@@ -91,7 +90,7 @@ sub sig_public {
my $chanrec = $server->channel_find($target);
return if not $chanrec; my $nickrec = $chanrec->nick_find($nick);
return if not $nickrec;
my $nickmode = $nickrec->{op} ? "@" : $nickrec->{voice} ? "+" : "";
my $nickmode = $nickrec->{op} ? "@" : $nickrec->{voice} ? "+" : " ";
my $tunneledMsg = 0;
if( my ($iNickmode, $iNick, $iMsg) = ( $msg =~ /^<([ +@])([^>]*)> (.*)$/ ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment