mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 00:34:40 +01:00
One more string
This commit is contained in:
parent
1ce9ecf770
commit
d6f2daddba
@ -5,6 +5,7 @@
|
|||||||
"mmapErrorPart2": "To fix, run the following command as root: %s",
|
"mmapErrorPart2": "To fix, run the following command as root: %s",
|
||||||
"mmapErrorPart3": "To persist the change across reboots: %s",
|
"mmapErrorPart3": "To persist the change across reboots: %s",
|
||||||
"mmapErrorPart4": "On Windows and WSL, increasing the size of the pagefile might help; please switch to native Linux if the issue persists.",
|
"mmapErrorPart4": "On Windows and WSL, increasing the size of the pagefile might help; please switch to native Linux if the issue persists.",
|
||||||
|
"botAlreadyRunning": "The bot is already running!",
|
||||||
"extensionRequired": "MadelineProto requires the %s extension to run. %s",
|
"extensionRequired": "MadelineProto requires the %s extension to run. %s",
|
||||||
"extensionRequiredInstallWithApt": "Try running sudo apt-get install %s.",
|
"extensionRequiredInstallWithApt": "Try running sudo apt-get install %s.",
|
||||||
"extensionRequiredInstallWithCustomInstructions": "Follow the instructions at %s to install it.",
|
"extensionRequiredInstallWithCustomInstructions": "Follow the instructions at %s to install it.",
|
||||||
|
@ -241,7 +241,7 @@ final class API extends AbstractAPI
|
|||||||
try {
|
try {
|
||||||
if (!isset($_GET['MadelineSelfRestart']) && (($this->hasEventHandler()) || !($this->isIpcWorker()))) {
|
if (!isset($_GET['MadelineSelfRestart']) && (($this->hasEventHandler()) || !($this->isIpcWorker()))) {
|
||||||
$this->wrapper->logger('Restarting to full instance: the bot is already running!');
|
$this->wrapper->logger('Restarting to full instance: the bot is already running!');
|
||||||
Tools::closeConnection($this->getWebMessage('The bot is already running!'));
|
Tools::closeConnection($this->getWebMessage(Lang::$current_lang['botAlreadyRunning']));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$this->wrapper->logger('Restarting to full instance: stopping IPC server...');
|
$this->wrapper->logger('Restarting to full instance: stopping IPC server...');
|
||||||
|
Loading…
Reference in New Issue
Block a user