diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-28 01:38:34 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-28 01:38:34 +0000 |
commit | 98df31b72adfa1cd005048debad2b42d361d1d89 (patch) | |
tree | e395d1571a3c050c9720765e843ddfbd9770ddca | |
parent | 88914882ae3ccadcdca2a4c678d319af3c808cfd (diff) |
*** empty log message ***
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1235 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/commands.cpp | 9 |
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; } } } |