Jump to content
  • 0

how to prevent?


Question

3 answers to this question

Recommended Posts

  • 0
Posted

add this maybe at char.c::char_check_char_name

	// check for reserved names
	if( strcmpi(name, charserv_config.wisp_server_name) == 0 )
		return -1; // nick reserved for internal server messages
+	// Failed if char name has 'GM' (case-sensitive)
+	if (strstr(name, "GM"))
+		return -1;

	// Check Authorised letters/symbols in the name of the character
	if( charserv_config.char_config.char_name_option == 1 )
  • Upvote 2
  • -1
Posted
On 18/8/2014 at 7:58 PM, Cydh said:

add this maybe at char.c::char_check_char_name


	// check for reserved names
	if( strcmpi(name, charserv_config.wisp_server_name) == 0 )
		return -1; // nick reserved for internal server messages
+	// Failed if char name has 'GM' (case-sensitive)
+	if (strstr(name, "GM"))
+		return -1;

	// Check Authorised letters/symbols in the name of the character
	if( charserv_config.char_config.char_name_option == 1 )

how to make it array??

like "GM","FUCK","dll"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...