summaryrefslogtreecommitdiff
path: root/include/modules/suspend.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-02-07 13:12:57 -0500
committerAdam <Adam@anope.org>2014-02-07 13:12:57 -0500
commitad962ad75978dd31c6af180a157722942f87aa11 (patch)
treeeac1f111ed3411f8619220fcf44963077498267e /include/modules/suspend.h
parent5327becf41beda4487f077a3f0157f7013ec6f13 (diff)
Allow other modules to suspend nicknames and channels without having to subclass suspendinfo
Diffstat (limited to 'include/modules/suspend.h')
-rw-r--r--include/modules/suspend.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/modules/suspend.h b/include/modules/suspend.h
new file mode 100644
index 000000000..1e49b8ad8
--- /dev/null
+++ b/include/modules/suspend.h
@@ -0,0 +1,18 @@
+/*
+ * (C) 2003-2014 Anope Team
+ * Contact us at team@anope.org
+ *
+ * Please read COPYING and README for further details.
+ *
+ * Based on the original code of Epona by Lara.
+ * Based on the original code of Services by Andy Church.
+ */
+
+struct SuspendInfo
+{
+ Anope::string what, by, reason;
+ time_t when, expires;
+
+ SuspendInfo() { }
+ virtual ~SuspendInfo() { }
+};