]> arthur.barton.de Git - ngircd-alex.git/commit
Make real use of the CLIENT_SERVICE client type.
authorAlexander Barton <alex@barton.de>
Sat, 16 Aug 2008 15:52:02 +0000 (17:52 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 23 Sep 2008 09:53:15 +0000 (11:53 +0200)
commitd93030ad27af9cd6a807de8f672ae73ec0e1dff8
tree149e5d3e30bfe4a55009a63802694ae8df414047
parent4e125fb67cf9d00a9da0bf4602a4e5c0745bf282
Make real use of the CLIENT_SERVICE client type.

This patch enables ngIRCd to handle IRC services as real services, and not
as "fake users":

  - Set correct client type CLIENT_SERVICE for services,
  - Change log messages to include correct client type,
  - PRIVMSG: allow users to send messages to services,
  - Send services nick names to other servers (as users).

Please note that this patch doesn't announce services as services in the
network, but as regular users (as before). Only the local server knows
of services as services (see LUSERS command, for example). It is up to
one of the next patches to fix this and to introduce the SERVICE command
in server to server communication.

The propagation of services as regular users between servers doesn't limit
the functionality of the IRC services and will be the fallback for servers
that don't support "real" services propagation in the future.
src/ngircd/client.c
src/ngircd/irc-channel.c
src/ngircd/irc-login.c
src/ngircd/irc-mode.c
src/ngircd/irc.c
src/ngircd/numeric.c