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
/
NeonSpam.mod
/
event_neonspam_join.c
diff --git
a/src/modules/NeonSpam.mod/event_neonspam_join.c
b/src/modules/NeonSpam.mod/event_neonspam_join.c
index 53280d4910aa8d8dfc83ce082108d2b464254dc5..f34b1a387f89917f41e3274393465cca047d33f8 100644
(file)
--- a/
src/modules/NeonSpam.mod/event_neonspam_join.c
+++ b/
src/modules/NeonSpam.mod/event_neonspam_join.c
@@
-46,7
+46,7
@@
static void neonspam_event_join(struct ChanUser *chanuser) {
} else {
struct neonspam_event_join_cache *cache = malloc(sizeof(*cache));
if (!cache) {
- p
error("malloc() failed"
);
+ p
rintf_log("neonspam", LOG_ERROR, "%s:%d malloc() failed", __FILE__, __LINE__
);
return;
}
cache->client = client;