diff options
| author | 2005-04-28 00:25:40 +0000 | |
|---|---|---|
| committer | 2005-04-28 00:25:40 +0000 | |
| commit | f61e10f2120424d87894b653cfefe25858551ff0 (patch) | |
| tree | ce90731f586dbb83071c2381455c41be7fb50fe3 /src/connection.cpp | |
| parent | Fixes to WriteCommon and WriteCommonExcept (diff) | |
Transposed strcmp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1229 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/connection.cpp')
| -rw-r--r-- | src/connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index 364c0f2a3..ec2d3c507 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -410,9 +410,9 @@ bool connection::SendPacket(char *message, const char* sendhost) if (cn->GetState() == STATE_DISCONNECTED) { - log(DEBUG,"Main route to %s is down, seeking alternative",host); + log(DEBUG,"Main route to %s is down, seeking alternative",sendhost); // fix: can only route one hop to avoid a loop - if (!strncmp(message,"R ",2)) + if (strncmp(message,"R ",2)) { // this route is down, we must re-route the packet through an available point in the mesh. for (int k = 0; k < this->connectors.size(); k++) |
