Fixed a warning I missed and a typo.
This commit is contained in:
1 parent
9b6eecb797
commit
dbfde5c33b
2 files changed
+2
-7
No files matched your search
+1
-6
@@ -139,12 +139,7 @@ sub event_run
|
||||
|
||||
if (defined $EVENTS{lc($event)} and defined $HOOKS{lc($event)}) {
|
||||
foreach my $hk (keys %{ $HOOKS{lc($event)} }) {
|
||||
if (defined @args) {
|
||||
&{ $HOOKS{lc($event)}{$hk} }(@args);
|
||||
}
|
||||
else {
|
||||
&{ $HOOKS{lc($event)}{$hk} }();
|
||||
}
|
||||
&{ $HOOKS{lc($event)}{$hk} }(@args);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -181,7 +181,7 @@ sub num475
|
||||
|
||||
# Parse: Numeric:477
|
||||
# Cannot join channel: Need registered nickname.
|
||||
sub num473
|
||||
sub num477
|
||||
{
|
||||
my ($svr, (undef, undef, undef, $chan)) = @_;
|
||||
|
||||
|
||||
Reference in new issue
Block a user