From c0fd2894d2de4c3fd0c9e160860f24f290bb52d9 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 28 Apr 2005 01:46:11 +0000 Subject: Fixed remote squit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1236 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands.cpp b/src/commands.cpp index ba14a452e..bd30e5573 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1554,7 +1554,7 @@ void handle_squit(char **parameters, int pcnt, userrec *user) { // found a valid ircd_connector. have_this_server = true; - return; + break; } } } @@ -1562,6 +1562,7 @@ void handle_squit(char **parameters, int pcnt, userrec *user) if (have_this_server) { WriteOpers("SQUIT command issued by %s to remove %s from the mesh",user->nick,parameters[0]); + WriteServ(user->fd,"NOTICE %s :*** Removing remote server %s.",user->nick,parameters[0]); char buffer[MAXBUF]; snprintf(buffer,MAXBUF,"& %s",parameters[0]); NetSendToAll(buffer); -- cgit v1.2.3