mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 12:29:27 +01:00
Change "not found" to "failed to load"
This commit is contained in:
parent
ce3a3d4b9b
commit
539aeb3e9f
@ -124,7 +124,7 @@ sub load_cmd {
|
|||||||
if ($self->load($arguments)) {
|
if ($self->load($arguments)) {
|
||||||
return "Loaded $arguments plugin.";
|
return "Loaded $arguments plugin.";
|
||||||
} else {
|
} else {
|
||||||
return "Plugin $arguments not found.";
|
return "Plugin $arguments failed to load.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -138,7 +138,7 @@ sub unload_cmd {
|
|||||||
if ($self->unload($arguments)) {
|
if ($self->unload($arguments)) {
|
||||||
return "Unloaded $arguments plugin.";
|
return "Unloaded $arguments plugin.";
|
||||||
} else {
|
} else {
|
||||||
return "Plugin $arguments not found.";
|
return "Plugin $arguments failed to load.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user