my $nickname = $irc->nick_name;
if ($msg =~ /^(\S+): (.+)$/ && $self->disp->has_command('anon',$channel)){
- my $_ = $1;
+ local $_ = $1;
my $text = $2;
unless ($irc->is_channel_member($channel,$1) || /(Constructing|Researching)/){
$msg = ".anon $_ $text";
FROM users u WHERE hostmask = ?
}, undef, $address);
if ($user){
- if ($user->{password} eq ''){
+ unless ($user->{password}) {
$irc->yield(privmsg => $disp->targets->{members}, "$nick: Get a new random password with /msg delling !getpass . If you don't know your username, then you can get it with .points");
}
if ($tick > 12 && not defined $user->{pid}){