mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 05:49:27 +01:00
Commands: fix minor typos in comments
This commit is contained in:
parent
926d57990b
commit
5aeb608052
@ -28,14 +28,14 @@ sub initialize {
|
||||
$self->{metadata}->load;
|
||||
}
|
||||
|
||||
# load commands in PBot::Core::Commands directory
|
||||
sub load_commands {
|
||||
my ($self) = @_;
|
||||
# load commands in Commands directory
|
||||
$self->{pbot}->{logger}->log("Loading commands:\n");
|
||||
load_modules($self, 'PBot::Core::Commands');
|
||||
}
|
||||
|
||||
# named parameters interface to register()
|
||||
# named-parameters interface to register()
|
||||
sub add {
|
||||
my ($self, %args) = @_;
|
||||
|
||||
@ -53,7 +53,7 @@ sub add {
|
||||
}
|
||||
}
|
||||
|
||||
# alias to unregister() for conisistency
|
||||
# alias to unregister() for consistency
|
||||
sub remove {
|
||||
my ($self) = @_;
|
||||
$self->unregister(@_);
|
||||
|
Loading…
Reference in New Issue
Block a user