diff options
author | Sadie Powell <sadie@witchery.services> | 2023-12-17 13:59:49 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2023-12-17 13:59:49 +0000 |
commit | 6538641e8703084460df70d04196ac271eff1266 (patch) | |
tree | 2bf8ab8fdd0fb4839d86607826bc09c3366e3870 /include/commands.h | |
parent | eb0e5c89b2a1e59091001ffd0e54582c2ff04212 (diff) |
Remove some unnecessary spaces that break editor indentation.
Diffstat (limited to 'include/commands.h')
-rw-r--r-- | include/commands.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/commands.h b/include/commands.h index 451727500..4fe116e1b 100644 --- a/include/commands.h +++ b/include/commands.h @@ -53,7 +53,7 @@ class CoreExport CommandSource Anope::string nick; /* User executing the command, may be NULL */ Reference<User> u; - public: +public: /* The account executing the command */ Reference<NickCore> nc; /* for web clients */ @@ -97,7 +97,7 @@ class CoreExport Command : public Service /* Command requires that a user is executing it */ bool require_user; - public: +public: /* Maximum parameters accepted by this command */ size_t max_params; /* Minimum parameters required to use this command */ @@ -106,7 +106,7 @@ class CoreExport Command : public Service /* Module which owns us */ Module *module; - protected: +protected: /** Create a new command. * @param owner The owner of the command * @param sname The command name @@ -116,10 +116,10 @@ class CoreExport Command : public Service */ Command(Module *owner, const Anope::string &sname, size_t min_params, size_t max_params = 0); - public: +public: virtual ~Command() = default; - protected: +protected: void SetDesc(const Anope::string &d); void ClearSyntax(); @@ -129,7 +129,7 @@ class CoreExport Command : public Service void AllowUnregistered(bool b); void RequireUser(bool b); - public: +public: bool AllowUnregistered() const; bool RequireUser() const; |