mirror of
https://github.com/anope/anope.git
synced 2026-07-06 03:13:13 +02:00
Modularized os_news
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
#ifndef OPER_H
|
||||
#define OPER_H
|
||||
|
||||
extern CoreExport std::vector<NewsItem *> News;
|
||||
|
||||
class XLineManager;
|
||||
extern CoreExport XLineManager *SGLine;
|
||||
extern CoreExport XLineManager *SZLine;
|
||||
|
||||
@@ -768,33 +768,6 @@ class CoreExport Entry : public Flags<EntryType>
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
/* News stuff */
|
||||
|
||||
enum NewsType
|
||||
{
|
||||
NEWS_LOGON,
|
||||
NEWS_RANDOM,
|
||||
NEWS_OPER
|
||||
};
|
||||
|
||||
struct NewsMessages
|
||||
{
|
||||
NewsType type;
|
||||
Anope::string name;
|
||||
const char *msgs[10];
|
||||
};
|
||||
|
||||
struct NewsItem
|
||||
{
|
||||
NewsType type;
|
||||
uint32 num;
|
||||
Anope::string Text;
|
||||
Anope::string who;
|
||||
time_t time;
|
||||
};
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
/* Mail data */
|
||||
|
||||
struct MailInfo
|
||||
|
||||
Reference in New Issue
Block a user