1
0
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:
Adam
2011-05-09 21:13:13 -04:00
parent 9962fae1a1
commit 13915d8b57
4 changed files with 145 additions and 186 deletions
-2
View File
@@ -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;
-27
View File
@@ -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