Fixes
This commit is contained in:
parent
abd898f025
commit
95f595d701
@ -155,6 +155,7 @@ sub on_public {
|
||||
|
||||
$mynick =~ s/\[/\\[/g;
|
||||
$mynick =~ s/\]/\\]/g;
|
||||
print "My nick: $mynick\n";
|
||||
|
||||
if ($arg =~ /^$mynick[,: ]/i || $arg =~ /^!/ ) {
|
||||
if ($arg =~ /^(?:$mynick[,: ]|!)\s*ignore (.+)\s*$/i) {
|
||||
@ -510,6 +511,13 @@ sub adjust_nick
|
||||
$count += $_;
|
||||
}
|
||||
close CMDPIPE;
|
||||
$conn->nick(sprintf('vivivi[%s]', $count)) if ( $count > 0 );
|
||||
if ( $count > 0 )
|
||||
{
|
||||
$conn->nick(sprintf('vivivi[%d]', $count));
|
||||
}
|
||||
else
|
||||
{
|
||||
$conn->nick('vivivi');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user