mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 10:37:41 -04:00
Update to work against the more modern version of PC's server ini format
This commit is contained in:
@ -1077,12 +1077,24 @@ PF_CONSOLE_GROUP(Server)
|
||||
//============================================================================
|
||||
PF_CONSOLE_CMD(
|
||||
Server,
|
||||
Url,
|
||||
Status,
|
||||
"string url",
|
||||
"Set the displayable server URL"
|
||||
"Set the server's status URL"
|
||||
) {
|
||||
wchar_t *wurl = hsStringToWString((const char *)params[0]);
|
||||
SetServerUrl(wurl);
|
||||
SetServerStatusUrl(wurl);
|
||||
delete [] wurl;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
PF_CONSOLE_CMD(
|
||||
Server,
|
||||
Signup,
|
||||
"string url",
|
||||
"Set the server's new user sign-up URL"
|
||||
) {
|
||||
wchar_t *wurl = hsStringToWString((const char *)params[0]);
|
||||
SetServerSignupUrl(wurl);
|
||||
delete [] wurl;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user