projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8f611
)
fixed crash in modcmd.c
author
pk910
<philipp@zoelle1.de>
Tue, 17 Jan 2012 14:35:56 +0000
(15:35 +0100)
committer
pk910
<philipp@zoelle1.de>
Tue, 17 Jan 2012 14:35:56 +0000
(15:35 +0100)
src/modcmd.c
patch
|
blob
|
history
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;