diff options
Diffstat (limited to 'mbbsd/chat.c')
-rw-r--r-- | mbbsd/chat.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mbbsd/chat.c b/mbbsd/chat.c index 917f8c8d..fc8507d1 100644 --- a/mbbsd/chat.c +++ b/mbbsd/chat.c @@ -318,6 +318,12 @@ t_chat(void) char fpath[80]; struct ChatBuf chatbuf; + if(HasUserPerm(PERM_VIOLATELAW)) + { + vmsg("請先繳罰單才能使用聊天室!"); + return -1; + } + memset(&chatbuf, 0, sizeof(chatbuf)); outs(" 驅車前往 請梢候........ "); |