Skip to content

Commit 6ef8614

Browse files
committed
Update Diag.cpp
minor tweaks http -> https
1 parent 6c09b5e commit 6ef8614

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MTADiag/Diag.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ void Diag::Begin ( void )
212212
// upload successful; copy URL to clipboard
213213
if ( HasDigits ( PasteBinResult ) && !( strstr ( PasteBinResult.c_str(), "DOCTYPE" ) ) && !( strstr ( PasteBinResult.c_str(), "error" ) ) )
214214
{
215-
PasteBinResult.insert ( 0, "http://pastebin.mtasa.com/" );
215+
PasteBinResult.insert ( 0, "https://pastebin.mtasa.com/" );
216216
if ( CopyToClipboard ( PasteBinResult ) ) // was copying to clipboard successful?
217217
{
218218
std::cout << "Pastebin link (" << PasteBinResult << ") copied to your clipboard." << std::endl << "Please include the Pastebin link in your forum post." << std::endl;
@@ -227,7 +227,7 @@ void Diag::Begin ( void )
227227
{
228228
std::cout << std::endl << std::endl << "Failed to upload log file to MTA Pastebin." << std::endl;
229229
std::cout << "Error code: \"" << PasteBinResult << "\"" << std::endl;
230-
std::cout << "Please paste the contents of the opened Wordpad window at http://pastebin.mtasa.com" << std::endl;
230+
std::cout << "Please paste the contents of the opened Wordpad window at https://pastebin.mtasa.com" << std::endl;
231231
std::cout << "Include the MTA Pastebin link in your forum post." << std::endl << std::endl;
232232
ShellExecute ( NULL, "open", "wordpad.exe", files[0].c_str(), NULL, SW_SHOW );
233233
}
@@ -555,4 +555,4 @@ void Diag::GetDir ( std::string directory )
555555
system ( dirPath.c_str() ); // do it
556556

557557
Log::WriteFileToLog ( files[1].c_str(), ( directory + " directory listing" ) ); // write the result to the log file with a description
558-
}
558+
}

0 commit comments

Comments
 (0)