/
/
/
279
user: constify banned usernames
jcs made amendment
279
over 2 years ago
---
user.c Fri Jan 1 02:05:33 1904
+++
user.c Tue Nov 8 10:46:49 2022
@@ -24,7 +24,7 @@
#include "user.h"
#include "util.h"
-static char *BANNED_USERNAMES[] = {
+static const char *BANNED_USERNAMES[] = {
"admin", "administrator", "\"admin", "admin1",
"client", "contact",
"daemon", "default",