From 98df31b72adfa1cd005048debad2b42d361d1d89 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 28 Apr 2005 01:38:34 +0000 Subject: *** empty log message *** git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1235 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/commands.cpp b/src/commands.cpp index bde708b82..ba14a452e 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1552,12 +1552,9 @@ void handle_squit(char **parameters, int pcnt, userrec *user) { if (!strcasecmp(me[j]->connectors[x].GetServerName().c_str(),parameters[0])) { - if ((me[j]->connectors[x].GetState() == STATE_CONNECTED) || (me[j]->connectors[x].GetState() == STATE_SERVICES)) - { - // found a valid ircd_connector. - have_this_server = true; - return; - } + // found a valid ircd_connector. + have_this_server = true; + return; } } } -- cgit v1.2.3