mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Get rid of pnUtW32Addr and make IP strings char*s.
IP addresses don't need to be unicode. pnUtAddr is still around until we replace all NetAddress uses with plNetAddress (they are typedef'ed to each other right now).
This commit is contained in:
@ -89,9 +89,7 @@ PF_CONSOLE_CMD(
|
||||
"string url",
|
||||
"Set the server's status URL"
|
||||
) {
|
||||
wchar_t *wurl = hsStringToWString((const char *)params[0]);
|
||||
SetServerStatusUrl(wurl);
|
||||
delete [] wurl;
|
||||
SetServerStatusUrl(params[0]);
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
@ -101,9 +99,7 @@ PF_CONSOLE_CMD(
|
||||
"string url",
|
||||
"Set the server's new user sign-up URL"
|
||||
) {
|
||||
wchar_t *wurl = hsStringToWString((const char *)params[0]);
|
||||
SetServerSignupUrl(wurl);
|
||||
delete [] wurl;
|
||||
SetServerSignupUrl(params[0]);
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
@ -113,9 +109,7 @@ PF_CONSOLE_CMD(
|
||||
"string name",
|
||||
"Set the displayable server name"
|
||||
) {
|
||||
wchar_t *wname = hsStringToWString((const char *)params[0]);
|
||||
SetServerDisplayName(wname);
|
||||
delete [] wname;
|
||||
SetServerDisplayName(params[0]);
|
||||
}
|
||||
|
||||
|
||||
@ -130,9 +124,7 @@ PF_CONSOLE_CMD(
|
||||
"string address",
|
||||
"Set the File Server address"
|
||||
) {
|
||||
wchar_t *wHost = hsStringToWString((const char *)params[0]);
|
||||
SetFileSrvHostname(wHost);
|
||||
delete [] wHost;
|
||||
SetFileSrvHostname(params[0]);
|
||||
}
|
||||
|
||||
|
||||
@ -147,9 +139,7 @@ PF_CONSOLE_CMD(
|
||||
"string address",
|
||||
"Set the Auth Server address"
|
||||
) {
|
||||
wchar_t *wHost = hsStringToWString((const char *)params[0]);
|
||||
SetAuthSrvHostname(wHost);
|
||||
delete [] wHost;
|
||||
SetAuthSrvHostname(params[0]);
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
@ -200,9 +190,7 @@ PF_CONSOLE_CMD(
|
||||
"string address",
|
||||
"Set the Csr Server address"
|
||||
) {
|
||||
wchar_t *wHost = hsStringToWString((const char *)params[0]);
|
||||
SetCsrSrvHostname(wHost);
|
||||
delete [] wHost;
|
||||
SetCsrSrvHostname(params[0]);
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
@ -294,9 +282,7 @@ PF_CONSOLE_CMD(
|
||||
"string address",
|
||||
"Set the GateKeeper Server address"
|
||||
) {
|
||||
wchar_t *wHost = hsStringToWString((const char *)params[0]);
|
||||
SetGateKeeperSrvHostname(wHost);
|
||||
delete [] wHost;
|
||||
SetGateKeeperSrvHostname(params[0]);
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
|
Reference in New Issue
Block a user