summaryrefslogtreecommitdiff
path: root/include/modules/pseudoclients/chanserv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/pseudoclients/chanserv.h')
-rw-r--r--include/modules/pseudoclients/chanserv.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/modules/pseudoclients/chanserv.h b/include/modules/pseudoclients/chanserv.h
index e964ba7d3..c9e11185c 100644
--- a/include/modules/pseudoclients/chanserv.h
+++ b/include/modules/pseudoclients/chanserv.h
@@ -6,12 +6,12 @@
* Please read COPYING and README for further details.
*/
-#ifndef CHANSERV_H
-#define CHANSERV_H
+#pragma once
-class ChanServService : public Service
+class ChanServService
+ : public Service
{
- public:
+public:
ChanServService(Module *m) : Service(m, "ChanServService", "ChanServ")
{
}
@@ -21,5 +21,3 @@ class ChanServService : public Service
*/
virtual void Hold(Channel *c) = 0;
};
-
-#endif // CHANSERV_H