Remove $Core and $Mod* comments apart from $ModDep.

This commit is contained in:
Peter Powell 2013-07-03 04:34:40 +01:00
parent 4c12eafe61
commit 54d10d53c7
171 changed files with 1 additions and 349 deletions

View File

@ -18,8 +18,6 @@
*/
/* $Core */
#include "inspircd.h"
#include "bancache.h"

View File

@ -23,8 +23,6 @@
*/
/* $Core */
#include "inspircd.h"
#include "listmode.h"
#include <cstdarg>

View File

@ -19,8 +19,6 @@
*/
/* $Core */
#include "inspircd.h"
/* Used when comparing CIDR masks for the modulus bits left over.

View File

@ -21,8 +21,6 @@
*/
/* $Core */
#include "inspircd.h"
#include "xline.h"
#include "command_parse.h"

View File

@ -19,8 +19,6 @@
*/
/* $Core */
#include "inspircd.h"
#include <fstream>
#include "socketengine.h"

View File

@ -20,8 +20,6 @@
*/
/* $Core */
#include "inspircd.h"
#include "hashcomp.h"

View File

@ -22,8 +22,6 @@
*/
/* $Core */
#ifdef _WIN32
#define _CRT_RAND_S
#include <stdlib.h>

View File

@ -26,7 +26,6 @@
*/
/* $Core */
#include "inspircd.h"
#include <signal.h>

View File

@ -27,7 +27,6 @@
# pragma comment(lib, "GeoIP.lib")
#endif
/* $ModDesc: Provides a way to restrict users by country using GeoIP lookup */
/* $LinkerFlags: -lGeoIP */
class ModuleGeoIP : public Module

View File

@ -35,7 +35,6 @@
# pragma comment(lib, "lber.lib")
#endif
/* $ModDesc: Allow/Deny connections based upon answer from LDAP server */
/* $LinkerFlags: -lldap */
struct RAIILDAPString

View File

@ -32,7 +32,6 @@
# pragma comment(lib, "lber.lib")
#endif
/* $ModDesc: Adds the ability to authenticate opers via LDAP */
/* $LinkerFlags: -lldap */
struct RAIILDAPString

View File

@ -30,7 +30,6 @@
#include "m_sqlv2.h"
/* $ModDesc: MsSQL provider */
/* $CompileFlags: exec("grep VERSION_NO /usr/include/tdsver.h 2>/dev/null | perl -e 'print "-D_TDSVER=".((<> =~ /freetds v(\d+\.\d+)/i) ? $1*100 : 0);'") */
/* $LinkerFlags: -ltds */
/* $ModDep: m_sqlv2.h */

View File

@ -35,7 +35,6 @@
/* VERSION 3 API: With nonblocking (threaded) requests */
/* $ModDesc: SQL Service Provider module for all other m_sql* modules */
/* $CompileFlags: exec("mysql_config --include") */
/* $LinkerFlags: exec("mysql_config --libs_r") rpath("mysql_config --libs_r") */

View File

@ -28,7 +28,6 @@
#include <libpq-fe.h>
#include "modules/sql.h"
/* $ModDesc: PostgreSQL Service Provider module for all other m_sql* modules, uses v2 of the SQL API */
/* $CompileFlags: -Iexec("pg_config --includedir") eval("my $s = `pg_config --version`;$s =~ /^.*?(\d+)\.(\d+)\.(\d+).*?$/;my $v = hex(sprintf("0x%02x%02x%02x", $1, $2, $3));print "-DPGSQL_HAS_ESCAPECONN" if(($v >= 0x080104) || ($v >= 0x07030F && $v < 0x070400) || ($v >= 0x07040D && $v < 0x080000) || ($v >= 0x080008 && $v < 0x080100));") */
/* $LinkerFlags: -Lexec("pg_config --libdir") -lpq */

View File

@ -22,7 +22,6 @@
#include <pcre.h>
#include "modules/regex.h"
/* $ModDesc: Regex Provider Module for PCRE */
/* $ModDep: modules/regex.h */
/* $CompileFlags: exec("pcre-config --cflags") */
/* $LinkerFlags: exec("pcre-config --libs") rpath("pcre-config --libs") -lpcre */

View File

@ -23,7 +23,6 @@
#include <sys/types.h>
#include <regex.h>
/* $ModDesc: Regex Provider Module for POSIX Regular Expressions */
/* $ModDep: modules/regex.h */
class POSIXRegexException : public ModuleException

View File

@ -27,7 +27,6 @@
#include <re2/re2.h>
/* $ModDesc: Regex Provider Module for RE2 Regular Expressions */
/* $CompileFlags: -std=c++11 */
/* $LinkerFlags: -lre2 */
/* $ModDep: modules/regex.h */

View File

@ -20,10 +20,6 @@
#include "modules/regex.h"
#include <regex>
/* $ModDesc: Regex Provider Module for std::regex Regular Expressions */
/* $ModConfig: <stdregex type="ecmascript">
* Specify the Regular Expression engine to use here. Valid settings are
* bre, ere, awk, grep, egrep, ecmascript (default if not specified)*/
/* $CompileFlags: -std=c++11 */
/* $ModDep: modules/regex.h */

View File

@ -23,7 +23,6 @@
#include <sys/types.h>
#include <tre/regex.h>
/* $ModDesc: Regex Provider Module for TRE Regular Expressions */
/* $CompileFlags: pkgconfincludes("tre","tre/regex.h","") */
/* $LinkerFlags: pkgconflibs("tre","/libtre.so","-ltre") rpath("pkg-config --libs tre") */
/* $ModDep: modules/regex.h */

View File

@ -28,7 +28,6 @@
# pragma comment(lib, "sqlite3.lib")
#endif
/* $ModDesc: sqlite3 provider */
/* $CompileFlags: pkgconfversion("sqlite3","3.3") pkgconfincludes("sqlite3","/sqlite3.h","") */
/* $LinkerFlags: pkgconflibs("sqlite3","/libsqlite3.so","-lsqlite3") */
/* $NoPedantic */

View File

@ -39,7 +39,6 @@
# pragma comment(lib, "gdi32.lib")
#endif
/* $ModDesc: Provides SSL support for clients */
/* $CompileFlags: pkgconfincludes("gnutls","/gnutls/gnutls.h","") exec("libgcrypt-config --cflags") */
/* $LinkerFlags: rpath("pkg-config --libs gnutls") pkgconflibs("gnutls","/libgnutls.so","-lgnutls") exec("libgcrypt-config --libs") */
/* $NoPedantic */

View File

@ -48,8 +48,6 @@
# define MAX_DESCRIPTORS 10000
#endif
/* $ModDesc: Provides SSL support for clients */
/* $LinkerFlags: if("USE_FREEBSD_BASE_SSL") -lssl -lcrypto */
/* $CompileFlags: if(!"USE_FREEBSD_BASE_SSL") pkgconfversion("openssl","0.9.7") pkgconfincludes("openssl","/openssl/ssl.h","") */
/* $LinkerFlags: if(!"USE_FREEBSD_BASE_SSL") rpath("pkg-config --libs openssl") pkgconflibs("openssl","/libssl.so","-lssl -lcrypto -ldl") */

View File

@ -19,8 +19,6 @@
#include "inspircd.h"
/* $ModDesc: Provides the ability to abbreviate commands a-la BBC BASIC keywords. */
class ModuleAbbreviation : public Module
{
public:

View File

@ -22,8 +22,6 @@
#include "inspircd.h"
/* $ModDesc: Provides aliases of commands. */
/** An alias definition
*/
class Alias

View File

@ -19,8 +19,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support for channel mode +A, allowing /invite freely on a channel and extban A to deny specific users it */
class AllowInvite : public SimpleChannelModeHandler
{
public:

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Display timestamps from all servers connected to the network */
class CommandAlltime : public Command
{
public:

View File

@ -22,8 +22,6 @@
#include "inspircd.h"
/* $ModDesc: Allows for auditorium channels (+u) where nobody can see others joining and parting or the nick list */
class AuditoriumMode : public ModeHandler
{
public:

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
#include "listmode.h"
/* $ModDesc: Provides support for the +w channel mode, autoop list */
/** Handles +w channel mode
*/
class AutoOpList : public ListModeBase

View File

@ -24,8 +24,6 @@
#include "inspircd.h"
#include "listmode.h"
/* $ModDesc: Provides support for the +e channel mode */
/* Written by Om<om@inspircd.org>, April 2005. */
/* Rewritten to use the listmode utility by Om, December 2005 */
/* Adapted from m_exception, which was originally based on m_chanprotect and m_silence */

View File

@ -25,8 +25,6 @@
#include "inspircd.h"
#include "listmode.h"
/* $ModDesc: Allows an extended ban (+b) syntax redirecting banned users to another channel */
/* Originally written by Om, January 2009
*/

View File

@ -23,8 +23,6 @@
#include "inspircd.h"
/* $ModDesc: Attempt to block /amsg, at least some of the irritating mIRC scripts. */
enum BlockAction { IBLOCK_KILL, IBLOCK_KILLOPERS, IBLOCK_NOTICE, IBLOCK_NOTICEOPERS, IBLOCK_SILENT };
/* IBLOCK_NOTICE - Send a notice to the user informing them of what happened.
* IBLOCK_NOTICEOPERS - Send a notice to the user informing them and send an oper notice.

View File

@ -22,8 +22,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support to block all-CAPS channel messages and notices */
/** Handles the +B channel mode
*/

View File

@ -23,8 +23,6 @@
#include "inspircd.h"
/* $ModDesc: Provides channel mode +c to block color */
/** Handles the +c channel mode
*/
class BlockColor : public SimpleChannelModeHandler

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Provides user mode +B to mark the user as a bot */
/** Handles user mode +B
*/
class BotMode : public SimpleUserModeHandler

View File

@ -22,8 +22,6 @@
#include "inspircd.h"
/* $ModDesc: Implementation of callerid, usermode +g, /accept */
class callerid_data
{
public:

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
#include "modules/cap.h"
/* $ModDesc: Provides the CAP negotiation mechanism seen in ratbox-derived ircds */
/*
CAP LS
:alfred.staticbox.net CAP * LS :multi-prefix sasl

View File

@ -23,8 +23,6 @@
#include "inspircd.h"
#include "xline.h"
/* $ModDesc: Gives /cban, aka C:lines. Think Q:lines, for channels. */
/** Holds a CBAN item
*/
class CBan : public XLine

View File

@ -20,8 +20,6 @@
*/
/* $ModDesc: Provides user and channel +G mode */
#define _CRT_SECURE_NO_DEPRECATE
#define _SCL_SECURE_NO_DEPRECATE

View File

@ -27,8 +27,6 @@
#include "xline.h"
#include "modules/dns.h"
/* $ModDesc: Change user's hosts connecting from known CGI:IRC hosts */
enum CGItype { PASS, IDENT, PASSFIRST, IDENTFIRST, WEBIRC };

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Provides snomasks 'j' and 'J', to which notices about newly created channels are sent */
class ModuleChanCreate : public Module
{
public:

View File

@ -23,8 +23,6 @@
*/
/* $ModDesc: Provides channel-specific censor lists (like mode +G but varies from channel to channel) */
#define _CRT_SECURE_NO_DEPRECATE
#define _SCL_SECURE_NO_DEPRECATE

View File

@ -19,8 +19,6 @@
#include "inspircd.h"
/* $ModDesc: Provides channel history for a given number of lines */
struct HistoryItem
{
time_t ts;

View File

@ -20,8 +20,6 @@
#include "inspircd.h"
/* $ModDesc: Logs snomask output to channel(s). */
class ModuleChanLog : public Module
{
/*

View File

@ -19,8 +19,6 @@
#include "inspircd.h"
/* $ModDesc: Implements config tags which allow changing characters allowed in channel names */
static std::bitset<256> allowedmap;
class NewIsChannelHandler : public HandlerBase1<bool, const std::string&>

View File

@ -20,8 +20,6 @@
#include "inspircd.h"
/* $ModDesc: Implements extban +b j: - matching channel bans */
class ModuleBadChannelExtban : public Module
{
public:

View File

@ -20,8 +20,6 @@
*/
/* $ModDesc: Provides the /CHECK command to retrieve information on a user, channel, hostname or IP address */
#include "inspircd.h"
#include "listmode.h"

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support for the CHGHOST command */
/** Handle /CHGHOST
*/
class CommandChghost : public Command

View File

@ -22,8 +22,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support for the CHGIDENT command */
/** Handle /CHGIDENT
*/
class CommandChgident : public Command

View File

@ -20,8 +20,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support for the CHGNAME command */
/** Handle /CHGNAME
*/
class CommandChgname : public Command

View File

@ -26,8 +26,6 @@
#include "inspircd.h"
#include "modules/hash.h"
/* $ModDesc: Provides masking of user hostnames */
enum CloakMode
{
/** 2.0 cloak of "half" of the hostname plus the full IP hash */

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Provides the /CLONES command to retrieve information on clones. */
/** Handle /CLONES
*/
class CommandClones : public Command

View File

@ -20,8 +20,6 @@
#include "inspircd.h"
/* $ModDesc: Provides /CLOSE functionality */
/** Handle /CLOSE
*/
class CommandClose : public Command

View File

@ -19,8 +19,6 @@
#include "inspircd.h"
/* $ModDesc: Adds user mode +c, which if set, users must be on a common channel with you to private message you */
/** Handles user mode +c
*/
class PrivacyMode : public SimpleUserModeHandler

View File

@ -22,8 +22,6 @@
#include "inspircd.h"
/* $ModDesc: Forces users to join the specified channel(s) on connect */
class ModuleConnJoin : public Module
{
public:

View File

@ -22,8 +22,6 @@
#include "inspircd.h"
/* $ModDesc: Sets (and unsets) modes on users when they connect */
class ModuleModesOnConnect : public Module
{
public:

View File

@ -24,8 +24,6 @@
#include "inspircd.h"
/* $ModDesc: Forces connecting clients to send a PONG message back to the server before they can complete their connection */
class ModuleWaitPong : public Module
{
bool sendsnotice;

View File

@ -20,8 +20,6 @@
#include "inspircd.h"
#include "xline.h"
/* $ModDesc: Throttles the connections of IP ranges who try to connect flood. */
class ModuleConnectBan : public Module
{
clonemap connects;

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Connection throttle */
class ModuleConnFlood : public Module
{
int seconds, timeout, boot_wait;

View File

@ -19,8 +19,6 @@
#include "inspircd.h"
/* $ModDesc: Allows custom prefix modes to be created. */
class CustomPrefixMode : public ModeHandler
{
public:

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Provides the TITLE command which allows setting of CUSTOM WHOIS TITLE line */
/** Handle /TITLE
*/
class CommandTitle : public Command

View File

@ -20,8 +20,6 @@
#include "inspircd.h"
/* $ModDesc: Provides command CYCLE, acts as a server-side HOP command to part and rejoin a channel. */
/** Handle /CYCLE
*/
class CommandCycle : public SplitCommand

View File

@ -25,8 +25,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support for the /DCCALLOW command */
class BannedFileList
{
public:

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Provides usermode +d to block channel messages and channel notices */
/** User mode +d - filter out channel messages and channel notices
*/
class User_d : public ModeHandler

View File

@ -20,8 +20,6 @@
*/
/* $ModDesc: Allows for delay-join channels (+D) where users don't appear to join until they speak */
#include "inspircd.h"
#include <stdarg.h>

View File

@ -19,8 +19,6 @@
#include "inspircd.h"
/* $ModDesc: Provides channelmode +d <int>, to deny messages to a channel until <int> seconds. */
class DelayMsgMode : public ModeHandler
{
public:

View File

@ -22,8 +22,6 @@
#include "inspircd.h"
/* $ModDesc: Implements config tags which allow blocking of joins to channels */
class ModuleDenyChannels : public Module
{
public:

View File

@ -24,8 +24,6 @@
* Syntax: /DEVOICE <#chan>
*/
/* $ModDesc: Provides voiced users with the ability to devoice themselves. */
#include "inspircd.h"
/** Handle /DEVOICE

View File

@ -25,8 +25,6 @@
#include "xline.h"
#include "modules/dns.h"
/* $ModDesc: Provides handling of DNS blacklists */
/* Class holding data for a single entry */
class DNSBLConfEntry
{

View File

@ -20,8 +20,6 @@
#include "inspircd.h"
#include "listmode.h"
/* $ModDesc: Provides the ability to allow channel operators to be exempt from certain modes. */
/** Handles channel mode +X
*/
class ExemptChanOps : public ListModeBase

View File

@ -24,8 +24,6 @@
#include "xline.h"
#include "modules/regex.h"
/* $ModDesc: Text (spam) filtering */
class ModuleFilter;
enum FilterFlags

View File

@ -19,8 +19,6 @@
#include "inspircd.h"
/* $ModDesc: Implements extban +b r: - realname (gecos) bans */
class ModuleGecosBan : public Module
{
public:

View File

@ -22,8 +22,6 @@
*/
/* $ModDesc: Allows global loading of a module. */
#include "inspircd.h"
/** Handle /GLOADMODULE

View File

@ -23,8 +23,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support for GLOBOPS and snomask +g */
/** Handle /GLOBOPS
*/
class CommandGlobops : public Command

View File

@ -21,8 +21,6 @@
*/
/* $ModDesc: Provides the /HELPOP command for useful information */
#include "inspircd.h"
static std::map<irc::string, std::string> helpop_map;

View File

@ -20,8 +20,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support for hiding channels with user mode +I */
/** Handles user mode +I
*/
class HideChans : public SimpleUserModeHandler

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support for hiding oper status with user mode +H */
/** Handles user mode +H
*/
class HideOper : public SimpleUserModeHandler

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Provides masking of user hostnames in a different way to m_cloaking */
/** Holds information on a host set by m_hostchange
*/
class Host

View File

@ -26,7 +26,6 @@
#include "iohook.h"
#include "modules/httpd.h"
/* $ModDesc: Provides HTTP serving facilities to modules */
/* $ModDep: modules/httpd.h */
class ModuleHttpServer;

View File

@ -22,8 +22,6 @@
#include "modules/httpd.h"
#include "protocol.h"
/* $ModDesc: Provides access control lists (passwording of resources, ip restrictions etc) to m_httpd.so dependent modules */
class HTTPACL
{
public:

View File

@ -22,8 +22,6 @@
#include "modules/httpd.h"
#include "protocol.h"
/* $ModDesc: Allows for the server configuration to be viewed over HTTP via m_httpd.so */
class ModuleHttpConfig : public Module
{
HTTPdAPI API;

View File

@ -26,8 +26,6 @@
#include "xline.h"
#include "protocol.h"
/* $ModDesc: Provides statistics over HTTP via m_httpd.so */
class ModuleHttpStats : public Module
{
static std::map<char, char const*> const &entities;

View File

@ -24,8 +24,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support for RFC1413 ident lookups */
/* --------------------------------------------------------------
* Note that this is the third incarnation of m_ident. The first
* two attempts were pretty crashy, mainly due to the fact we tried

View File

@ -24,8 +24,6 @@
#include "inspircd.h"
#include "listmode.h"
/* $ModDesc: Provides support for the +I channel mode */
/*
* Written by Om <om@inspircd.org>, April 2005.
* Based on m_exception, which was originally based on m_chanprotect and m_silence

View File

@ -16,8 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* $ModDesc: Provides support for extended-join, away-notify and account-notify CAP capabilities */
#include "inspircd.h"
#include "modules/account.h"
#include "modules/cap.h"

View File

@ -23,8 +23,6 @@
#include "inspircd.h"
/* $ModDesc: Provides channel mode +j (join flood protection) */
/** Holds settings and state associated with channel mode +j
*/
class joinfloodsettings

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support for the RPL_REDIR numeric and the /JUMPSERVER command. */
/** Handle /JUMPSERVER
*/
class CommandJumpserver : public Command

View File

@ -25,8 +25,6 @@
#include "inspircd.h"
/* $ModDesc: Provides channel mode +J (delay rejoin after kick) */
typedef std::map<std::string, time_t> delaylist;
/** Handles channel mode +J

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Provides support for /KNOCK and channel mode +K */
/** Handles the /KNOCK command
*/
class CommandKnock : public Command

View File

@ -20,8 +20,6 @@
#include "inspircd.h"
/* $ModDesc: Allows locking of the server to stop all incoming connections till unlocked again */
/** Adds numerics
* 988 <nick> <servername> :Closed for new connections
* 989 <nick> <servername> :Open for new connections

View File

@ -19,8 +19,6 @@
#include "inspircd.h"
/* $ModDesc: Hide /MAP and /LINKS in the same form as ircu (mostly useless) */
class ModuleMapHide : public Module
{
std::string url;

View File

@ -21,8 +21,6 @@
*/
/* $ModDesc: Allows for MD5 encrypted oper passwords */
#include "inspircd.h"
#ifdef HAS_STDINT
#include <stdint.h>

View File

@ -25,8 +25,6 @@
#include "inspircd.h"
/* $ModDesc: Provides channel mode +f (message flood protection) */
/** Holds flood settings and state for mode +f
*/
class floodsettings

View File

@ -17,8 +17,6 @@
*/
/* $ModDesc: Implements the ability to have server-side MLOCK enforcement. */
#include "inspircd.h"
class ModuleMLock : public Module

View File

@ -20,8 +20,6 @@
#include "inspircd.h"
/* $ModDesc: Implements extban +b m: - mute bans */
class ModuleQuietBan : public Module
{
public:

View File

@ -17,8 +17,6 @@
*/
/* $ModDesc: Provides the ability to manipulate modes via long names. */
#include "inspircd.h"
static void DisplayList(User* user, Channel* channel)

View File

@ -23,8 +23,6 @@
#include "inspircd.h"
#include "modules/cap.h"
/* $ModDesc: Provides the NAMESX (CAP multi-prefix) capability. */
class ModuleNamesX : public Module
{
GenericCap cap;

View File

@ -29,8 +29,6 @@
#include "caller.h"
#include <fstream>
/* $ModDesc: Provides an ability to have non-RFC1459 nicks & support for national CASEMAPPING */
class lwbNickHandler : public HandlerBase1<bool, const std::string&>
{
public:

View File

@ -20,8 +20,6 @@
#include "inspircd.h"
/* $ModDesc: Provides channel mode +F (nick flood protection) */
/** Holds settings and state associated with channel mode +F
*/
class nickfloodsettings

View File

@ -22,8 +22,6 @@
#include "inspircd.h"
/* $ModDesc: Provides the NICKLOCK command, allows an oper to change a users nick and lock them to it until they quit */
/** Handle /NICKLOCK
*/
class CommandNicklock : public Command

View File

@ -21,8 +21,6 @@
#include "inspircd.h"
/* $ModDesc: Provides channel mode +C to block CTCPs */
class NoCTCP : public SimpleChannelModeHandler
{
public:

Some files were not shown because too many files have changed in this diff Show More