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...
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);
}