diff options
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/cs_suspend.h | 20 | ||||
| -rw-r--r-- | include/modules/suspend.h (renamed from include/modules/ns_suspend.h) | 12 |
2 files changed, 5 insertions, 27 deletions
diff --git a/include/modules/cs_suspend.h b/include/modules/cs_suspend.h deleted file mode 100644 index db76b2443..000000000 --- a/include/modules/cs_suspend.h +++ /dev/null @@ -1,20 +0,0 @@ -/* ChanServ core functions - * - * (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 CSSuspendInfo -{ - Anope::string chan, by, reason; - time_t time, expires; - - virtual ~CSSuspendInfo() { } - protected: - CSSuspendInfo() { } -}; diff --git a/include/modules/ns_suspend.h b/include/modules/suspend.h index 9569ecad2..1e49b8ad8 100644 --- a/include/modules/ns_suspend.h +++ b/include/modules/suspend.h @@ -1,5 +1,4 @@ -/* NickServ core functions - * +/* * (C) 2003-2014 Anope Team * Contact us at team@anope.org * @@ -9,12 +8,11 @@ * Based on the original code of Services by Andy Church. */ -struct NSSuspendInfo +struct SuspendInfo { - Anope::string nick, by, reason; + Anope::string what, by, reason; time_t when, expires; - virtual ~NSSuspendInfo() { } - protected: - NSSuspendInfo() { } + SuspendInfo() { } + virtual ~SuspendInfo() { } }; |
