diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/browserboxtools.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/browserboxtools.cpp b/src/utils/browserboxtools.cpp index 5c7571c97..e3045c9ee 100644 --- a/src/utils/browserboxtools.cpp +++ b/src/utils/browserboxtools.cpp @@ -75,6 +75,12 @@ std::string BrowserBoxTools::replaceLinkCommands(const std::string &link) std::string data = link; + if (strStartWith(data, "http://") || + strStartWith(data, "https://")) + { + return data; + } + if (!link.empty() && link[0] == 'm') { // monster link const BeingTypeId id = static_cast<BeingTypeId>( |