Author: soliton
Date: Wed Feb 27 01:08:24 2008
New Revision: 24102
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24102&view=rev
Log:
correct an off-by-one error
Modified:
trunk/src/server/server.cpp
Modified: trunk/src/server/server.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/server/server.cpp?rev=24102&r1=24101&r2=24102&view=diff
==============================================================================
--- trunk/src/server/server.cpp (original)
+++ trunk/src/server/server.cpp Wed Feb 27 01:08:24 2008
@@ -255,7 +255,7 @@
}
}
- return connections > concurrent_connections_;
+ return connections >= concurrent_connections_;
}
bool server::is_ip_banned(const std::string& ip) const {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits