projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updated cmd_version information
[NeonServV5.git]
/
src
/
modules
/
NeonSpam.mod
/
event_neonspam_chanmsg.c
diff --git
a/src/modules/NeonSpam.mod/event_neonspam_chanmsg.c
b/src/modules/NeonSpam.mod/event_neonspam_chanmsg.c
index 648f505760570062385e557873cccc3beb879795..5e7f1aeeac1d305c01bb875b4f4f9bf43e87b617 100644
(file)
--- a/
src/modules/NeonSpam.mod/event_neonspam_chanmsg.c
+++ b/
src/modules/NeonSpam.mod/event_neonspam_chanmsg.c
@@
-154,7
+154,7
@@
static void neonspam_event_chanmsg(struct UserNode *user, struct ChanNode *chan,
} else {
struct neonspam_event_chanmsg_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;