projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed crash in modcmd.c
[NeonServV5.git]
/
src
/
modcmd.c
diff --git
a/src/modcmd.c
b/src/modcmd.c
index ea8b416486f66b89d95a1cf28cd23d7071c6d146..629435d9a672e2f64e359bd9164fe2fbdd7d0265 100644
(file)
--- 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;