projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed language format string fail
[NeonServV5.git]
/
src
/
modules
/
NeonServ.mod
/
cmd_neonserv_voice.c
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_voice.c
b/src/modules/NeonServ.mod/cmd_neonserv_voice.c
index 49dfe6cf7183900661079648bd39a2eacf2fd195..ea3de407ed81492f0cdd920dc40dac26d63ff5f0 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_voice.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_voice.c
@@
-1,4
+1,4
@@
-/* cmd_neonserv_voice.c - NeonServ v5.
3
+/* cmd_neonserv_voice.c - NeonServ v5.
6
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-33,15
+33,15
@@
struct neonserv_cmd_voice_cache {
CMD_BIND(neonserv_cmd_voice) {
struct neonserv_cmd_voice_cache *cache = malloc(sizeof(*cache));
if (!cache) {
CMD_BIND(neonserv_cmd_voice) {
struct neonserv_cmd_voice_cache *cache = malloc(sizeof(*cache));
if (!cache) {
- p
error("malloc() failed"
);
+ p
rintf_log("neonserv", LOG_ERROR, "%s:%d malloc() failed", __FILE__, __LINE__
);
return;
}
cache->client = client;
return;
}
cache->client = client;
- cache->textclient =
getTextBot()
;
+ cache->textclient =
textclient
;
cache->user = user;
cache->event = event;
cache->nicks = strdup(merge_argv(argv, 0, argc));
cache->user = user;
cache->event = event;
cache->nicks = strdup(merge_argv(argv, 0, argc));
- get_userlist_if_invisible(chan, neonserv_cmd_voice_userlist_lookup, cache);
+ get_userlist_if_invisible(chan,
module_id,
neonserv_cmd_voice_userlist_lookup, cache);
}
static USERLIST_CALLBACK(neonserv_cmd_voice_userlist_lookup) {
}
static USERLIST_CALLBACK(neonserv_cmd_voice_userlist_lookup) {