]> git.lizzy.rs Git - minetest.git/blobdiff - src/chat_interface.h
Translated using Weblate (Chinese (Traditional))
[minetest.git] / src / chat_interface.h
index 4784821fc60e56cac5739cee1ecacba6479fc32a..5dc3d388043f7a31551ab4adbbf7585c84191a97 100644 (file)
@@ -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 CHAT_INTERFACE_H
-#define CHAT_INTERFACE_H
+#pragma once
 
 #include "util/container.h"
 #include <string>
@@ -78,5 +77,3 @@ struct ChatInterface {
        MutexedQueue<ChatEvent *> command_queue; // chat backend --> server
        MutexedQueue<ChatEvent *> outgoing_queue; // server --> chat backend
 };
-
-#endif