projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9ff8b51
)
removed unused variable
author
pk910
<philipp@zoelle1.de>
Sat, 13 Aug 2011 00:43:14 +0000
(
02:43
+0200)
committer
pk910
<philipp@zoelle1.de>
Sat, 13 Aug 2011 00:43:14 +0000
(
02:43
+0200)
modcmd.c
patch
|
blob
|
history
diff --git
a/modcmd.c
b/modcmd.c
index 092408e47c634069fa7eae076006d8cc5fb9098f..1f6a5415cc8c366c97d9f131aabf421a3d1cb29e 100644
(file)
--- a/
modcmd.c
+++ b/
modcmd.c
@@
-81,7
+81,6
@@
static void handle_command(struct ClientSocket *client, struct UserNode *user, s
struct cmd_binding *cbind;
for(cbind = cmd_binds[bind_index]; cbind; cbind = cbind->next) {
if(cbind->botid == client->botid && strcmp(cbind->cmd, message) == 0) {
struct cmd_binding *cbind;
for(cbind = cmd_binds[bind_index]; cbind; cbind = cbind->next) {
if(cbind->botid == client->botid && strcmp(cbind->cmd, message) == 0) {
- struct cmd_function *cmdfunc = cbind->func;
//parse the arguments...
char *arga[MAXNUMPARAMS];
char **argv;
//parse the arguments...
char *arga[MAXNUMPARAMS];
char **argv;
@@
-105,7
+104,7
@@
static void handle_command(struct ClientSocket *client, struct UserNode *user, s
chan = chan2;
}
}
chan = chan2;
}
}
- c
md
func->func(client, user, chan, argv, argc);
+ c
bind->
func->func(client, user, chan, argv, argc);
return;
}
}
return;
}
}