From 8ffce4d2f3ab29677b466238ce900a85b6c9d693 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 9 Jun 2015 20:11:20 +0100 Subject: Fix various issues with the nationalchars module. - Strip the directory name in the default casemapping value. - Error out if the casemapping value contains a space. - Error out if the locale file failed to load. - Fix relative file path when building on Windows. - Install nationalchars files on Windows. --- docs/conf/modules.conf.example | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'docs/conf') diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 32701f0c4..364c30a14 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -1148,10 +1148,13 @@ # 2) Allows using custom (national) casemapping over the network. # # -# file - filename of existing file in "locales" directory -# casemapping - custom value for 005 numeric (if you want it to be -# different from the filename). Set this to the name of -# the locale if you are specifying an absolute path. +# file - Location of the file which contains casemapping rules. If this +# is a relative path then it is relative to "/../locales" +# on UNIX and "/locales" on Windows. +# casemapping - The name of the casemapping sent to clients in the 005 +# numeric. If this is not set then it defaults to the name +# of the casemapping file unless the file name contains a +# space in which case you will have to specify it manually. # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# -- cgit v1.2.3 From 3f8f2c7a0befea58f3f298e3a5632fefa4fd3e57 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Mon, 12 Oct 2015 14:50:45 +0200 Subject: Fix a few documentation problems Fixes issues #1003, #1045 and #1085 --- docs/conf/helpop-full.conf.example | 14 +++++++++++--- docs/conf/helpop.conf.example | 3 +++ docs/conf/modules.conf.example | 3 +++ 3 files changed, 17 insertions(+), 3 deletions(-) (limited to 'docs/conf') diff --git a/docs/conf/helpop-full.conf.example b/docs/conf/helpop-full.conf.example index a3529b9dc..ed82c6e02 100644 --- a/docs/conf/helpop-full.conf.example +++ b/docs/conf/helpop-full.conf.example @@ -381,6 +381,7 @@ Sets your name to the specified name."> OPERMOTD CHECK CLONES USERIP TLINE ALLTIME WALLOPS GLOBOPS MODENOTICE +CLOAK SETHOST SETIDENT CHGHOST CHGIDENT CHGNAME SETIDLE SWHOIS @@ -759,10 +760,9 @@ The duration may be specified in seconds, or in the format 1y2w3d4h5m6s - meaning one year, two weeks, three days, 4 hours, 5 minutes and 6 seconds. All fields in this format are optional."> - +This command clears the DNS cache of the local server."> + + ###################### # User/Channel Modes # ###################### @@ -809,6 +815,8 @@ who have all of them set."> hideoper module). I Hides a user's entire channel list in WHOIS from non-IRCops (requires hidechans module). + L Stops redirections done by m_redirect (mode must be + enabled in the config). R Blocks private messages from unregistered users (requires services account module). S Strips mIRC color/bold/underline codes out of private diff --git a/docs/conf/helpop.conf.example b/docs/conf/helpop.conf.example index 32884ea16..b4d3214f6 100644 --- a/docs/conf/helpop.conf.example +++ b/docs/conf/helpop.conf.example @@ -51,6 +51,7 @@ OPER"> OPERMOTD CHECK CLONES USERIP TLINE ALLTIME WALLOPS GLOBOPS MODENOTICE +CLOAK SETHOST SETIDENT CHGHOST CHGIDENT CHGNAME SETIDLE SWHOIS @@ -102,6 +103,8 @@ LOCKSERV UNLOCKSERV"> hideoper module). I Hides a user's entire channel list in WHOIS from non-IRCops (requires hidechans module). + L Stops redirections done by m_redirect (mode must be + enabled in the config). R Blocks private messages from unregistered users (requires services account module). S Strips mIRC color/bold/underline codes out of private diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 364c30a14..98b614acd 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -414,6 +414,9 @@ #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Channelban: Implements extended ban j:, which stops anyone already # in a channel matching a ban like +b j:#channel*mask from joining. +# Note that by default wildcard characters * and ? are allowed in +# channel names. To disallow them, load m_channames and add characters +# 42 and 63 to denyrange (see above). # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# -- cgit v1.2.3 From 748b3a0d89e7ecc9a766471b79fb78f63a5ca2bb Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 12 Feb 2016 18:30:01 +0100 Subject: m_dccallow Add config option to control max entries on a list Default to 20 --- docs/conf/modules.conf.example | 3 ++- src/modules/m_dccallow.cpp | 11 ++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'docs/conf') diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 98b614acd..97d69da90 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -671,6 +671,7 @@ # length - Default duration of entries in DCCALLOW list. # action - Default action to take if no action is # specified, can be 'block' or 'allow'. +# maxentries - Max number of nicks to allow on a DCCALLOW list. # # File configuration: # pattern - The glob pattern to match against. @@ -678,7 +679,7 @@ # that matches this pattern, can be 'block' or # 'allow'. # -# +# # # diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 829c1d337..043486283 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -58,6 +58,7 @@ SimpleExtItem* ext; class CommandDccallow : public Command { public: + unsigned int maxentries; CommandDccallow(Module* parent) : Command(parent, "DCCALLOW", 0) { syntax = "[(+|-) [