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_chanmsg.c
diff --git
a/src/modules/NeonSpam.mod/event_neonspam_chanmsg.c
b/src/modules/NeonSpam.mod/event_neonspam_chanmsg.c
index d653e9ce19aba0ab9869e1b6f63f3b795176be26..5e7f1aeeac1d305c01bb875b4f4f9bf43e87b617 100644
(file)
--- a/
src/modules/NeonSpam.mod/event_neonspam_chanmsg.c
+++ b/
src/modules/NeonSpam.mod/event_neonspam_chanmsg.c
@@
-1,4
+1,4
@@
-/* event_neonspam_chanmsg.c - NeonServ v5.
5
+/* event_neonspam_chanmsg.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
@@
-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) {
} 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;
return;
}
cache->client = client;