summaryrefslogtreecommitdiff
path: root/include/servers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/servers.h')
-rw-r--r--include/servers.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/servers.h b/include/servers.h
index 937e31163..442b54f25 100644
--- a/include/servers.h
+++ b/include/servers.h
@@ -9,8 +9,7 @@
* Based on the original code of Services by Andy Church.
*/
-#ifndef SERVERS_H
-#define SERVERS_H
+#pragma once
#include "services.h"
#include "anope.h"
@@ -80,7 +79,7 @@ class CoreExport Server : public Extensible
public:
/* Number of users on the server */
- unsigned users;
+ unsigned users = 0;
/** Delete this server with a reason
* @param reason The reason
@@ -183,5 +182,3 @@ class CoreExport Server : public Extensible
*/
static Server *Find(const Anope::string &name, bool name_only = false);
};
-
-#endif // SERVERS_H