projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'development'
[NeonServV5.git]
/
src
/
modules
/
NeonServ.mod
/
cmd_neonserv_addtimeban.c
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_addtimeban.c
b/src/modules/NeonServ.mod/cmd_neonserv_addtimeban.c
index 8df4b39edd73be3eeaf15c881f78ea478bf79453..2e096f9584dc86f56ba747ee44788e4103b9240e 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_addtimeban.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_addtimeban.c
@@
-1,4
+1,4
@@
-/* cmd_neonserv_addtimeban.c - NeonServ v5.
5
+/* cmd_neonserv_addtimeban.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
@@
-42,7
+42,7
@@
CMD_BIND(neonserv_cmd_addtimeban) {
}
struct neonserv_cmd_addtimeban_cache *cache = malloc(sizeof(*cache));
if (!cache) {
}
struct neonserv_cmd_addtimeban_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;