diff options
Diffstat (limited to 'mbbsd/chat.c')
-rw-r--r-- | mbbsd/chat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/chat.c b/mbbsd/chat.c index 5bf56c83..2a5343f8 100644 --- a/mbbsd/chat.c +++ b/mbbsd/chat.c @@ -362,6 +362,9 @@ t_chat(void) return -1; } + if (!HasUserPerm(PERM_CHAT)) + return -1; + syncnow(); #ifdef CHAT_GAPMINS |