summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-28 01:46:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-28 01:46:11 +0000
commitc0fd2894d2de4c3fd0c9e160860f24f290bb52d9 (patch)
treee49975cc495fc30fdf428b23baa038d68a0f9f27 /src/commands.cpp
parent98df31b72adfa1cd005048debad2b42d361d1d89 (diff)
Fixed remote squit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1236 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp3
1 files changed, 2 insertions, 1 deletions
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);