mirror of
https://github.com/pragma-/pbot.git
synced 2025-05-03 13:17:33 +02:00
Minor bugfix for two rarely used plugins
This commit is contained in:
parent
62387c48ef
commit
3c3a96461e
@ -31,7 +31,7 @@ sub initialize {
|
|||||||
|
|
||||||
sub unload {
|
sub unload {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
$self->{pbot}->{commands}->unload("mc");
|
$self->{pbot}->{commands}->unregister("mc");
|
||||||
}
|
}
|
||||||
|
|
||||||
sub magic {
|
sub magic {
|
||||||
|
@ -36,7 +36,7 @@ sub initialize {
|
|||||||
|
|
||||||
sub unload {
|
sub unload {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
$self->{pbot}->{commands}->unload("pd");
|
$self->{pbot}->{commands}->unregister("pd");
|
||||||
}
|
}
|
||||||
|
|
||||||
sub pd {
|
sub pd {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user