chiark / gitweb /
Quieten over-pick compiler.
[disorder] / server / server.c
index 5df2d330a611c1b42e8f2c756177cad9fd10624a..527255e571de8a85fc5b72c8479a45cfabf63295 100644 (file)
@@ -1711,7 +1711,7 @@ static int command(struct conn *c, char *line) {
     sink_writes(ev_writer_sink(c->w), "500 do what?\n");
     return 1;
   }
-  if((n = TABLE_FIND(commands, struct command, name, vec[0])) < 0)
+  if((n = TABLE_FIND(commands, name, vec[0])) < 0)
     sink_writes(ev_writer_sink(c->w), "500 unknown command\n");
   else {
     if(commands[n].rights