summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NetLobbyServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NetLobbyServer.cpp')
-rw-r--r--Stars45/NetLobbyServer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Stars45/NetLobbyServer.cpp b/Stars45/NetLobbyServer.cpp
index c439560..90ee02b 100644
--- a/Stars45/NetLobbyServer.cpp
+++ b/Stars45/NetLobbyServer.cpp
@@ -206,7 +206,7 @@ NetLobbyServer::LoadMOTD()
while (fgets(line, 256, f)) {
int n = strlen(line) - 1;
-
+
while (n >= 0 && isspace(line[n]))
line[n--] = 0;
@@ -301,7 +301,7 @@ NetLobbyServer::ExecFrame()
server_mission.length() > 0) {
NetCampaignInfo* c = campaigns.last();
-
+
if (!c || c->name != "Persistent Multiplayer") {
c = new(__FILE__,__LINE__) NetCampaignInfo;
c->id = Campaign::MULTIPLAYER_MISSIONS;
@@ -430,7 +430,7 @@ NetLobbyServer::GameStart()
{
if (status < NetServerInfo::ACTIVE) {
SetStatus(NetServerInfo::BRIEFING);
-
+
if (Starshatter::GetInstance()) {
Starshatter::GetInstance()->SetGameMode(Starshatter::PREP_MODE);
}
@@ -598,7 +598,7 @@ NetLobbyServer::SaveChat()
NetChatEntry* c = chat_log[i];
fprintf(f, "%08x [%s] %s\n",
c->GetTime(),
- c->GetUser().data(),
+ c->GetUser().data(),
c->GetMessage().data());
}
@@ -998,7 +998,7 @@ NetLobbyServer::DoLogin(NetPeer* peer, Text msg)
// is user already logged in?
if (pre_existing) {
- if (pre_existing->Pass() == pass &&
+ if (pre_existing->Pass() == pass &&
pre_existing->GetAddress().IPAddr() == peer->Address().IPAddr()) {
}
}