Commit Diff
Diff:
e5154b2e02df7676c558aad8eed76ad9ecd8137d
5863bc781b628f072ef06924f2962d35a68196f3
Commit:
5863bc781b628f072ef06924f2962d35a68196f3
Tree:
f8fd3f5354f2dcf6a37429b7693745b1ed1dc56d
Author:
jrmu <jrmu@ircnow.org>
Committer:
jrmu <jrmu@ircnow.org>
Date:
Mon Mar 20 03:32:44 2023 UTC
Message:
Remove bug that causes staff not to get recognized if nick contains capitals
blob - f6124c63ef6e59e9c1d75f2ea7f3bd2c2b50c2a5
blob + dc0a0c623d46a907451b5e315dc9aa6a8f1e642e
--- botnow
+++ botnow
@@ -583,9 +583,8 @@ sub isstaff {
if( !( $bot->{name} =~ /^$localnet$/i ) ) {
return 0;
}
- my $lnick = lc $nick;
foreach( @stafflist ) {
- if( $lnick eq $_ ) {
+ if( $nick eq $_ ) {
return 1;
}
}
IRCNow