]> arthur.barton.de Git - ngircd-alex.git/commit
Announce IRC services in the network.
authorAlexander Barton <alex@barton.de>
Sun, 17 Aug 2008 15:29:41 +0000 (17:29 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 23 Sep 2008 09:53:16 +0000 (11:53 +0200)
commit178f9cbdac3bbeb58600268791916f3bfbcbd958
tree49326b3c973925a89733d2271e00f97c2d75a921
parent6356418ae5fd66f94abda78f1ae67bbc7a59b0e4
Announce IRC services in the network.

This patch
 - introduces a new server flag "S" to indicate that the server can handle
   the SERVICE command (on server links),
 - implements the IRC command "SERVICE" for server-server links,
 - uses the "SERVICE" command to announce IRC services when a new
   server connects to it,
 - and fixes the Send_Message() function to let it send messages to
   services using a "target mask".

If the remote server doesn't indicate that it can handle the "SERVICE"
command (it has not set the "S" flag), services are announced as regular
users as before.
src/ngircd/defines.h
src/ngircd/irc-login.c
src/ngircd/irc.c
src/ngircd/numeric.c