summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-28 01:38:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-28 01:38:34 +0000
commit98df31b72adfa1cd005048debad2b42d361d1d89 (patch)
treee395d1571a3c050c9720765e843ddfbd9770ddca /src/commands.cpp
parent88914882ae3ccadcdca2a4c678d319af3c808cfd (diff)
*** empty log message ***
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1235 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp9
1 files changed, 3 insertions, 6 deletions
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;
}
}
}