projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** VERSION 5.5.0 ***
[NeonServV5.git]
/
src
/
modules
/
NeonServ.mod
/
cmd_neonserv_nicklist.c
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
b/src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
index 181923c45e611760fefbfc60c5bc28260e0824b3..3e858d0f2a49ad43820e77feaba587c272c76fb3 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
@@
-1,4
+1,4
@@
-/* cmd_neonserv_nicklist.c - NeonServ v5.
3
+/* cmd_neonserv_nicklist.c - NeonServ v5.
5
* 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
@@
-40,7
+40,7
@@
CMD_BIND(neonserv_cmd_nicklist) {
if(isGodMode(user)) {
event->flags |= CMDFLAG_OPLOG;
} else {
if(isGodMode(user)) {
event->flags |= CMDFLAG_OPLOG;
} else {
- reply(
getTextBot()
, user, "NS_ACCESS_DENIED");
+ reply(
textclient
, user, "NS_ACCESS_DENIED");
return;
}
}
return;
}
}
@@
-52,7
+52,7
@@
CMD_BIND(neonserv_cmd_nicklist) {
if(argc && !stricmp(argv[0], "nowho") && isGodMode(user)) {
argv++;
argc--;
if(argc && !stricmp(argv[0], "nowho") && isGodMode(user)) {
argv++;
argc--;
- neonserv_cmd_nicklist_async1(client,
getTextBot()
, user, chan, event, (argc ? argv[0] : NULL), syncusers);
+ neonserv_cmd_nicklist_async1(client,
textclient
, user, chan, event, (argc ? argv[0] : NULL), syncusers);
return;
}
struct neonserv_cmd_nicklist_cache *cache = malloc(sizeof(*cache));
return;
}
struct neonserv_cmd_nicklist_cache *cache = malloc(sizeof(*cache));
@@
-61,7
+61,7
@@
CMD_BIND(neonserv_cmd_nicklist) {
return;
}
cache->client = client;
return;
}
cache->client = client;
- cache->textclient =
getTextBot()
;
+ cache->textclient =
textclient
;
cache->user = user;
cache->event = event;
if(argc) {
cache->user = user;
cache->event = event;
if(argc) {
@@
-69,7
+69,7
@@
CMD_BIND(neonserv_cmd_nicklist) {
} else
cache->nickmask = NULL;
cache->syncusers = syncusers;
} else
cache->nickmask = NULL;
cache->syncusers = syncusers;
- get_userlist_with_invisible(chan, neonserv_cmd_nicklist_userlist_lookup, cache);
+ get_userlist_with_invisible(chan,
module_id,
neonserv_cmd_nicklist_userlist_lookup, cache);
}
static USERLIST_CALLBACK(neonserv_cmd_nicklist_userlist_lookup) {
}
static USERLIST_CALLBACK(neonserv_cmd_nicklist_userlist_lookup) {