소스 검색

svn: 1366

Bryan Drewery 22 년 전
부모
커밋
8126c713ef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/cmds.c

+ 1 - 1
src/cmds.c

@@ -1538,7 +1538,7 @@ static void cmd_botcmd(int idx, char *par)
   if (!strcmp(botm, "*")) {
   if (!strcmp(botm, "*")) {
     if (!strcmp(botm, "di") || !strcmp(botm, "die")) 
     if (!strcmp(botm, "di") || !strcmp(botm, "die")) 
       dprintf(idx, "Not a good idea.\n");
       dprintf(idx, "Not a good idea.\n");
-    else if (!dcc[idx].u->flags & USER_OWNER)
+    else if (!dcc[idx].user->flags & USER_OWNER)
       dprintf(idx, "'botcmd *' is limited to +n only.\n");
       dprintf(idx, "'botcmd *' is limited to +n only.\n");
     return;
     return;
   }
   }