diff options
Diffstat (limited to 'src/commands.cpp')
-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; } } } |