summaryrefslogtreecommitdiffstats
path: root/mbbsd/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/chat.c')
-rw-r--r--mbbsd/chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/chat.c b/mbbsd/chat.c
index cad6a09b..59cacb4b 100644
--- a/mbbsd/chat.c
+++ b/mbbsd/chat.c
@@ -210,10 +210,11 @@ chat_query(char *arg)
{
char *uid;
int tuid;
+ userec_t xuser;
printchatline("");
strtok(arg, str_space);
- if ((uid = strtok(NULL, str_space)) && (tuid = getuser(uid))) {
+ if ((uid = strtok(NULL, str_space)) && (tuid = getuser(uid, &xuser))) {
char buf[128], *ptr;
FILE *fp;