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_inviteme.c
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_inviteme.c
b/src/modules/NeonServ.mod/cmd_neonserv_inviteme.c
index b3feca765f78cff26a4d90449ba57d82f31c2d7c..62f787c33c4e4436788f7ddc202b96609f116832 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.
4
+/* cmd_neonserv_inviteme.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
@@
-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);
}
}