about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2009-05-19 23:06:28 +0200
committerAlexander Barton <alex@barton.de>2009-09-30 16:00:06 +0200
commit881b9af2512a9707cdd599f84628a03c4e22cf2b (patch)
treef099a026e3958ebb96e3fef2c8e5c4bfe8024650 /src
parent294320ed62bdb7dac546cea43fac3b4c916788a4 (diff)
downloadngircd-881b9af2512a9707cdd599f84628a03c4e22cf2b.tar.gz
ngircd-881b9af2512a9707cdd599f84628a03c4e22cf2b.zip
Generate WALLOPS message on operator-generated SQUIT
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc-server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ngircd/irc-server.c b/src/ngircd/irc-server.c
index ca2502dc..a0a94688 100644
--- a/src/ngircd/irc-server.c
+++ b/src/ngircd/irc-server.c
@@ -332,6 +332,10 @@ IRC_SQUIT(CLIENT * Client, REQUEST * Req)
 		/* We are directly connected to the target server, so we
 		 * have to tear down the connection and to inform all the
 		 * other remaining servers in the network */
+		IRC_SendWallops(Client_ThisServer(), Client_ThisServer(),
+				"Received SQUIT %s from %s: %s",
+				Req->argv[0], Client_ID(from),
+				Req->argv[1][0] ? Req->argv[1] : "-");
 		Conn_Close(con, NULL, msg, true);
 		if (con == Client_Conn(Client))
 			return DISCONNECTED;