aboutsummaryrefslogtreecommitdiff
path: root/src/ban.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ban.h')
-rw-r--r--src/ban.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ban.h b/src/ban.h
index 44cc94e6e..3e2ab7a87 100644
--- 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"
@@ -48,5 +47,3 @@ private:
StringMap m_ips;
bool m_modified = false;
};
-
-#endif