]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/ban.h
Remove creative/damage info in Esc/Pause menu
[dragonfireclient.git] / src / ban.h
index 35bf10abb8d5ed4015128cbdc9c517b979f6498d..3e2ab7a877ec989882f5d5e0ec4099b530f45dbb 100644 (file)
--- a/src/ban.h
+++ b/src/ban.h
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef BAN_HEADER
-#define BAN_HEADER
+#pragma once
 
 #include "util/string.h"
 #include "threading/thread.h"
@@ -30,7 +29,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 class BanManager
 {
 public:
-       BanManager(const std::string &bannfilepath);
+       BanManager(const std::string &banfilepath);
        ~BanManager();
        void load();
        void save();
@@ -48,5 +47,3 @@ class BanManager
        StringMap m_ips;
        bool m_modified = false;
 };
-
-#endif