projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved inviteme all to an own command called invitemeall
[NeonServV5.git]
/
src
/
modules
/
NeonServ.mod
/
cmd_neonserv_inviteme.c
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_inviteme.c
b/src/modules/NeonServ.mod/cmd_neonserv_inviteme.c
index 54c2dbf6096836bb6b53051a92342c09a6abc6c1..bbe7a3070b221fbd9c0915fe293c8269365890d4 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_inviteme.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_inviteme.c
@@
-1,4
+1,4
@@
-/* cmd_neonserv_inviteme.c - NeonServ v5.
3
+/* cmd_neonserv_inviteme.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
@@
-23,7
+23,7
@@
CMD_BIND(neonserv_cmd_inviteme) {
if(getChanUser(user, chan)) {
CMD_BIND(neonserv_cmd_inviteme) {
if(getChanUser(user, chan)) {
- reply(
getTextBot()
, user, "NS_INVITEME_ON_CHAN", chan->name);
+ reply(
textclient
, user, "NS_INVITEME_ON_CHAN", chan->name);
/* BUG
This check does not work if the user is invisible (CHMODE +D/+d)
to fix this we'd need to request the full userlist...
/* BUG
This check does not work if the user is invisible (CHMODE +D/+d)
to fix this we'd need to request the full userlist...
@@
-32,5
+32,5
@@
CMD_BIND(neonserv_cmd_inviteme) {
return;
}
putsock(client, "INVITE %s %s", user->nick, chan->name);
return;
}
putsock(client, "INVITE %s %s", user->nick, chan->name);
- reply(
getTextBot()
, user, "NS_INVITEME_DONE", chan->name);
+ reply(
textclient
, user, "NS_INVITEME_DONE", chan->name);
}
}