X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodcmd.c;h=629435d9a672e2f64e359bd9164fe2fbdd7d0265;hb=77b1c3e45f25e5a000b06a551e3b2329ad2db8a0;hp=ea8b416486f66b89d95a1cf28cd23d7071c6d146;hpb=0a8f6110d9756aac383456cfbc0e1614170a41d1;p=NeonServV5.git diff --git a/src/modcmd.c b/src/modcmd.c index ea8b416..629435d 100644 --- a/src/modcmd.c +++ b/src/modcmd.c @@ -159,7 +159,7 @@ static struct cmd_binding *modcmd_linker_command(struct ClientSocket *client, st break; } *args_ptr = args; - if(cbind->func->func == modcmd_linker) { + if(cbind && cbind->func->func == modcmd_linker) { return modcmd_linker_command(client, user, cbind, bind_index, args_ptr); } return cbind;