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_opall.c
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_opall.c
b/src/modules/NeonServ.mod/cmd_neonserv_opall.c
index 3837052f9e39c4fd184b96678815fbea6f8e0fc0..3f2646ac6082cb832237f4bc4515e3b793ff363e 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_opall.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_opall.c
@@
-1,4
+1,4
@@
-/* cmd_neonserv_opall.c - NeonServ v5.
4
+/* cmd_neonserv_opall.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,16
+33,16
@@
struct neonserv_cmd_opall_cache {
CMD_BIND(neonserv_cmd_opall) {
if(!argc || strcmp(argv[0], "FORCE")) {
CMD_BIND(neonserv_cmd_opall) {
if(!argc || strcmp(argv[0], "FORCE")) {
- reply(
getTextBot()
, user, "NS_OPALL_SECURITY", chan->name);
+ reply(
textclient
, user, "NS_OPALL_SECURITY", chan->name);
return;
}
struct neonserv_cmd_opall_cache *cache = malloc(sizeof(*cache));
if (!cache) {
return;
}
struct neonserv_cmd_opall_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;
if(argc > 1) {
cache->user = user;
cache->event = event;
if(argc > 1) {