]> arthur.barton.de Git - ngircd-alex.git/commit
Enable SQUIT command for IRC Operators
authorAlexander Barton <alex@barton.de>
Tue, 19 May 2009 20:41:45 +0000 (22:41 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 30 Sep 2009 14:00:06 +0000 (16:00 +0200)
commit294320ed62bdb7dac546cea43fac3b4c916788a4
tree7495eda2a176644738fe15b053273714265a7576
parent03b70229eb95e218f56ab22ce30fa6279b3ae91f
Enable SQUIT command for IRC Operators

This patch enables IRC Operators to use the SQUIT command as specified in
RFC 2812, section 3.1.8 "Squit".

When forwarding SQUIT commands, the server connected to the target will
drop the connection (not the target server itself!).

Please note:

 - the configuration option "AllowRemoteOper" mus be enabled on the
   server disconnecting the target to allow forwarding of SQUIT commands.
 - if the remote server is configured to establish the connection, it
   will just do this; so the disconnect is not permanent in this case!
src/ngircd/irc-server.c
src/ngircd/parse.c