projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
multiple fixes
[NeonServV5.git]
/
src
/
modcmd.c
diff --git
a/src/modcmd.c
b/src/modcmd.c
index 7ba0b939d6cae97eba0645fade114475474accfd..0bfe56dd3ce951e534d8296f75d9e050db43e6c8 100644
(file)
--- a/
src/modcmd.c
+++ b/
src/modcmd.c
@@
-369,7
+369,7
@@
static void handle_command(struct ClientSocket *client, struct UserNode *user, s
data->args_buffer = args_buffer;
data->cbind = cbind;
data->textclient = tmp_text_client;
data->args_buffer = args_buffer;
data->cbind = cbind;
data->textclient = tmp_text_client;
- get_userauth(user, command_checked_auth, data);
+ get_userauth(user,
0,
command_checked_auth, data);
return;
} else
handle_command_async(client, user, chan, sent_chan, cbind, argv, argc);
return;
} else
handle_command_async(client, user, chan, sent_chan, cbind, argv, argc);
@@
-827,10
+827,10
@@
struct ClientSocket *getTextBot() {
void init_modcmd() {
cmd_binds = calloc(27, sizeof(*cmd_binds));
void init_modcmd() {
cmd_binds = calloc(27, sizeof(*cmd_binds));
- bind_chanmsg(got_chanmsg);
- bind_privmsg(got_privmsg);
+ bind_chanmsg(got_chanmsg
, 0
);
+ bind_privmsg(got_privmsg
, 0
);
register_default_language_table(msgtab);
register_default_language_table(msgtab);
- register_command(0, "linker", modcmd_linker, 0, 0, 0, 0); //fake command for subcommands
+ register_command(0, "linker",
0,
modcmd_linker, 0, 0, 0, 0); //fake command for subcommands
}
void free_modcmd() {
}
void free_modcmd() {