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
/
cmd_neonserv_halfop.c
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_halfop.c
b/src/modules/NeonServ.mod/cmd_neonserv_halfop.c
index 7cd557c05c1a94df25d0c9e9eb7675631cbb23d6..8c8338981369e380def2a1b8d222264074d7e787 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_halfop.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_halfop.c
@@
-1,4
+1,4
@@
-/* cmd_neonserv_halfop.c - NeonServ v5.
4
+/* cmd_neonserv_halfop.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
@@
-33,11
+33,11
@@
struct neonserv_cmd_halfop_cache {
CMD_BIND(neonserv_cmd_halfop) {
struct neonserv_cmd_halfop_cache *cache = malloc(sizeof(*cache));
if (!cache) {
CMD_BIND(neonserv_cmd_halfop) {
struct neonserv_cmd_halfop_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;
- cache->textclient =
getTextBot()
;
+ cache->textclient =
textclient
;
cache->user = user;
cache->event = event;
cache->nicks = strdup(merge_argv(argv, 0, argc));
cache->user = user;
cache->event = event;
cache->nicks = strdup(merge_argv(argv, 0, argc));