From 65deeaf1e61242da81ca62059bcc3d5a342edcb6 Mon Sep 17 00:00:00 2001 From: Adam- Date: Tue, 3 Nov 2009 02:05:38 +0000 Subject: Moved some of the news variables out of the news module so other modules etc can access them, if needed git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2604 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/os_news.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'src/core') diff --git a/src/core/os_news.c b/src/core/os_news.c index 103c416b2..4ca0e057d 100644 --- a/src/core/os_news.c +++ b/src/core/os_news.c @@ -32,30 +32,6 @@ #define MSG_DELETED_ALL 11 #define MSG_MAX 11 -enum NewsType -{ - NEWS_LOGON, - NEWS_RANDOM, - NEWS_OPER -}; - -struct newsmsgs { - NewsType type; - const char *name; - int msgs[MSG_MAX + 1]; -}; - -struct NewsItem -{ - NewsType type; - uint32 num; - std::string Text; - char who[NICKMAX]; - time_t time; -}; - -std::vector News; - struct newsmsgs msgarray[] = { {NEWS_LOGON, "LOGON", {NEWS_LOGON_SYNTAX, -- cgit