summaryrefslogtreecommitdiff
path: root/include/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socket.h')
-rw-r--r--include/socket.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/socket.h b/include/socket.h
index 5f6705124..f6934b771 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -22,8 +22,7 @@
*/
-#ifndef INSPIRCD_SOCKET_H
-#define INSPIRCD_SOCKET_H
+#pragma once
#ifndef _WIN32
@@ -165,6 +164,3 @@ class CoreExport ListenSocket : public EventHandler
*/
void AcceptInternal();
};
-
-#endif
-