projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added new multi log system
[NeonServV5.git]
/
src
/
modules
/
NeonServ.mod
/
cmd_neonserv_chanservsync.c
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_chanservsync.c
b/src/modules/NeonServ.mod/cmd_neonserv_chanservsync.c
index f918d272439edbaee0642ca7c7a9836aaef06590..e4e00966295da78816a2dee09f23912852491388 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_chanservsync.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_chanservsync.c
@@
-95,7
+95,7
@@
CMD_BIND(neonserv_cmd_chanservsync) {
}
struct neonserv_cmd_chanservsync_cache *cache = malloc(sizeof(*cache));
if (!cache) {
}
struct neonserv_cmd_chanservsync_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;
@@
-214,7
+214,7
@@
static void neonserv_cmd_chanservsync_notice_listener(struct UserNode *user, str
//lookup auth
struct neonserv_cmd_chanservsync_auth_cache *cache = malloc(sizeof(*cache));
if (!cache) {
//lookup auth
struct neonserv_cmd_chanservsync_auth_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 = neonserv_cmd_chanservsync_used->client;
return;
}
cache->client = neonserv_cmd_chanservsync_used->client;