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
/
event_neonserv_ctcp.c
diff --git
a/src/modules/NeonServ.mod/event_neonserv_ctcp.c
b/src/modules/NeonServ.mod/event_neonserv_ctcp.c
index 0f6d1efc446460adab0beeeccce31c5911198741..200b80f584a2170c92c467416b62f00b6a652b54 100644
(file)
--- a/
src/modules/NeonServ.mod/event_neonserv_ctcp.c
+++ b/
src/modules/NeonServ.mod/event_neonserv_ctcp.c
@@
-1,4
+1,4
@@
-/* event_neonserv_ctcp.c - NeonServ v5.
5
+/* event_neonserv_ctcp.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
@@
-36,7
+36,7
@@
static void neonserv_event_chanctcp(struct UserNode *user, struct ChanNode *chan
if(!(user->flags & USERFLAG_ISAUTHED)) {
struct neonserv_event_ctcp_cache *cache = malloc(sizeof(*cache));
if (!cache) {
if(!(user->flags & USERFLAG_ISAUTHED)) {
struct neonserv_event_ctcp_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;