summaryrefslogtreecommitdiff
path: root/include/membership.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-04-02 20:12:15 +0100
committerPeter Powell <petpow@saberuk.com>2013-04-12 17:03:05 +0100
commit11cafc12d5440b67a9f676c9f6aa67840ca5399d (patch)
tree7c8eac3b1ad474fdaf42767bffee7c3c4b4cce48 /include/membership.h
parenta5fe50aca04ca554d313e7361c571c6a497a9c4e (diff)
Tidy up source files:
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
Diffstat (limited to 'include/membership.h')
-rw-r--r--include/membership.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/membership.h b/include/membership.h
index 436a9371c..44f588417 100644
--- a/include/membership.h
+++ b/include/membership.h
@@ -17,8 +17,7 @@
*/
-#ifndef MEMBERSHIP_H
-#define MEMBERSHIP_H
+#pragma once
class CoreExport Membership : public Extensible
{
@@ -59,5 +58,3 @@ class Invitation : public classbase
static void Create(Channel* c, LocalUser* u, time_t timeout);
static Invitation* Find(Channel* c, LocalUser* u, bool check_expired = true);
};
-
-#endif