From d79147e7afe2eca34780c607f78b11f8b3dd017d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 25 Jan 2022 13:59:42 +0000 Subject: Abolish the infernal space before accessibility keywords. --- src/modules/m_codepage.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/m_codepage.cpp') diff --git a/src/modules/m_codepage.cpp b/src/modules/m_codepage.cpp index 78b67bcf1..df447a930 100644 --- a/src/modules/m_codepage.cpp +++ b/src/modules/m_codepage.cpp @@ -22,7 +22,7 @@ class Codepage { - public: +public: enum AllowCharacterResult { // The character is allowed in a nick. @@ -87,7 +87,7 @@ class Codepage class SingleByteCodepage final : public Codepage { - private: +private: typedef std::bitset AllowedChars; // The characters which are allowed in nicknames. @@ -96,7 +96,7 @@ class SingleByteCodepage final // The characters which are allowed at the front of a nickname. AllowedChars allowedfrontchars; - public: +public: AllowCharacterResult AllowCharacter(uint32_t character, bool front) override { // Single byte codepage can, as their name suggests, only be one byte in size. @@ -173,7 +173,7 @@ class ModuleCodepage final : public Module , public ISupport::EventListener { - private: +private: // The currently active codepage. std::unique_ptr codepage; @@ -233,7 +233,7 @@ class ModuleCodepage final RehashHashmap(ServerInstance->Channels.GetChans()); } - public: +public: ModuleCodepage() : Module(VF_VENDOR | VF_COMMON, "Allows the server administrator to define what characters are allowed in nicknames and how characters should be compared in a case insensitive way.") , ISupport::EventListener(this) -- cgit v1.3.1-10-gc9f91