summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/util/xchatd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pttbbs/util/xchatd.c b/pttbbs/util/xchatd.c
index 58522a0f..bf148b4f 100644
--- a/pttbbs/util/xchatd.c
+++ b/pttbbs/util/xchatd.c
@@ -322,6 +322,9 @@ static int valid_chatid(register char *id) {
if(++len > 8)
return 0;
}
+ if (DBCS_strcasestr(id, "กป") ||
+ DBCS_strcasestr(id, "กฐ"))
+ return 0;
return len;
}