Branch: refs/heads/master Home: https://github.com/ngircd/ngircd Commit: c5da48368569383d064a2325ab3b99d10287a085 https://github.com/ngircd/ngircd/commit/c5da48368569383d064a2325ab3b99d10287... Author: Alexander Barton alex@barton.de Date: 2015-04-12 (Sun, 12 Apr 2015)
Changed paths: M src/ngircd/irc-op.c M src/ngircd/messages.h
Log Message: ----------- 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.