Skip to content

Commit

Permalink
ban + whitelist support
Browse files Browse the repository at this point in the history
  • Loading branch information
fogWraith committed Nov 28, 2010
1 parent 8f93d1f commit 5775027
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mineserver.cpp
Expand Up @@ -124,6 +124,8 @@ int Mineserver::Run()
initConstants();

Chat::get().loadAdmins(ADMINFILE);
Chat::get().loadBanned(BANNEDFILE);
Chat::get().loadWhitelist(WHITELISTFILE);
Chat::get().checkMotd(MOTDFILE);

// Initialize conf
Expand Down Expand Up @@ -308,4 +310,4 @@ bool Mineserver::Stop()
m_running=false;

return true;
};
};

0 comments on commit 5775027

Please sign in to comment.