Bryan Drewery %!s(int64=21) %!d(string=hai) anos
pai
achega
8126c713ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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, "di") || !strcmp(botm, "die")) 
       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");
     return;
   }