If I added some admin nicks (example: nick1, nick2):
- Code: Select all
$params['admins'] = array('nick1' => 'adminpass',
'nick2' => 'adminpass',
So if some other user login with the admin nick of: nick1 , the system allows get logged with this nick. I think it must to show an error message like: THIS NICK IS PROTECTED.
Because if the admin wants to be logged with the nick: nick1 he never will could get logged because an other user that is not an administrator is using this nick. the last code mentioned must to be like PORTECTED NICKS.
Is there any other way to protect some nicks?
other question is is there any way to protect some bad words like if the chat detect shet replace to **** or something like that.
Thanks, regards