]> arthur.barton.de Git - ngircd-alex.git/commit
Make sure that the target user is able to join a local channel
authorAlexander Barton <alex@barton.de>
Sun, 12 Apr 2015 18:59:43 +0000 (20:59 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 12 Apr 2015 18:59:43 +0000 (20:59 +0200)
commitc5da48368569383d064a2325ab3b99d10287a085
tree53253cfb1eeeabd114c7d7bf97c90a5c288cd812
parent4330f5d1c9119c4461c8fb7c8cf1f78a3ea53e4d
Make sure that the target user is able to join a local channel

Implement ERR_USERNOTONSERV(504) numeric and make sure that the
target user is on the same server when inviting other users to
local ("&") channels.

ircd-ratbox uses the ERR_USERNOTONSERV(504) numeric for this, and I
think this is a good idea -- other IRC daemons (like ircu) silently
drop such impossible invites, but thats not a big benefit ...

Idea by Cahata, thanks! Closes #183.
src/ngircd/irc-op.c
src/ngircd/messages.h