summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/botserv.example.conf2
-rw-r--r--data/chanserv.example.conf8
-rw-r--r--data/nickserv.example.conf7
-rw-r--r--data/operserv.example.conf12
-rw-r--r--include/modules.h6
-rw-r--r--language/anope.nl_NL.po2
-rw-r--r--modules/commands/os_session.cpp2
-rw-r--r--modules/pseudoclients/nickserv.cpp2
8 files changed, 19 insertions, 22 deletions
diff --git a/data/botserv.example.conf b/data/botserv.example.conf
index e93810c81..40853e4d7 100644
--- a/data/botserv.example.conf
+++ b/data/botserv.example.conf
@@ -261,7 +261,6 @@ module
*/
gentlebadwordreason = yes
}
-
command { service = "BotServ"; name = "KICK"; command = "botserv/kick"; }
command { service = "BotServ"; name = "KICK AMSG"; command = "botserv/kick/amsg"; }
command { service = "BotServ"; name = "KICK BADWORDS"; command = "botserv/kick/badwords"; }
@@ -277,6 +276,7 @@ command { service = "BotServ"; name = "KICK UNDERLINES"; command = "botserv/kick
command { service = "BotServ"; name = "SET DONTKICKOPS"; command = "botserv/set/dontkickops"; }
command { service = "BotServ"; name = "SET DONTKICKVOICES"; command = "botserv/set/dontkickvoices"; }
+
/*
* bs_set
*
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf
index 5d827e63d..84d3be57b 100644
--- a/data/chanserv.example.conf
+++ b/data/chanserv.example.conf
@@ -114,6 +114,7 @@ module
/*
* The maximum number of entries on a channel's access list.
+ * If not set, the default is 1024. This can be set to 0 for unlimited.
*/
accessmax = 1024
@@ -855,7 +856,6 @@ module
*/
autokickreason = "User has been banned from the channel"
}
-
command { service = "ChanServ"; name = "AKICK"; command = "chanserv/akick"; group = "chanserv/management"; }
/*
@@ -981,10 +981,11 @@ module
*/
listmax = 50
}
-
command { service = "ChanServ"; name = "LIST"; command = "chanserv/list"; permission = "chanserv/list"; group = "chanserv/admin"; }
+
command { service = "ChanServ"; name = "SET PRIVATE"; command = "chanserv/set/private"; }
+
/*
* cs_log
*
@@ -1044,7 +1045,6 @@ module
*/
mlock = "+nt"
}
-
command { service = "ChanServ"; name = "MODE"; command = "chanserv/mode"; group = "chanserv/management"; }
command { service = "ChanServ"; name = "OWNER"; command = "chanserv/modes"; group = "chanserv/status"; set = "OWNER" }
@@ -1062,6 +1062,7 @@ command { service = "ChanServ"; name = "DEHALFOP"; command = "chanserv/modes"; g
command { service = "ChanServ"; name = "VOICE"; command = "chanserv/modes"; group = "chanserv/status"; set = "VOICE" }
command { service = "ChanServ"; name = "DEVOICE"; command = "chanserv/modes"; group = "chanserv/status"; unset = "VOICE" }
+
/*
* cs_register
*
@@ -1133,7 +1134,6 @@ module
*/
defbantype = 2
}
-
command { service = "ChanServ"; name = "SET"; command = "chanserv/set"; group = "chanserv/management"; }
command { service = "ChanServ"; name = "SET AUTOOP"; command = "chanserv/set/autoop"; }
command { service = "ChanServ"; name = "SET BANTYPE"; command = "chanserv/set/bantype"; }
diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf
index 3e5e6b4d8..a3db10c18 100644
--- a/data/nickserv.example.conf
+++ b/data/nickserv.example.conf
@@ -260,7 +260,6 @@ module
*/
addaccessonreg = yes
}
-
command { service = "NickServ"; name = "ACCESS"; command = "nickserv/access"; }
/*
@@ -389,6 +388,7 @@ command { service = "NickServ"; name = "INFO"; command = "nickserv/info"; }
command { service = "NickServ"; name = "SET HIDE"; command = "nickserv/set/hide"; }
command { service = "NickServ"; name = "SASET HIDE"; command = "nickserv/saset/hide"; permission = "nickserv/saset/hide"; }
+
/*
* ns_list
*
@@ -411,6 +411,7 @@ command { service = "NickServ"; name = "LIST"; command = "nickserv/list"; group
command { service = "NickServ"; name = "SET PRIVATE"; command = "nickserv/set/private"; }
command { service = "NickServ"; name = "SASET PRIVATE"; command = "nickserv/saset/private"; permission = "nickserv/saset/private"; }
+
/*
* ns_logout
*
@@ -484,7 +485,6 @@ module
*/
#unconfirmedexpire = 1d
}
-
command { service = "NickServ"; name = "CONFIRM"; command = "nickserv/confirm"; }
command { service = "NickServ"; name = "REGISTER"; command = "nickserv/register"; }
command { service = "NickServ"; name = "RESEND"; command = "nickserv/resend"; }
@@ -527,7 +527,6 @@ module
#allowkillimmed = yes
}
-
command { service = "NickServ"; name = "SET"; command = "nickserv/set"; }
command { service = "NickServ"; name = "SASET"; command = "nickserv/saset"; permission = "nickserv/saset/"; group = "nickserv/admin"; }
@@ -560,6 +559,7 @@ command { service = "NickServ"; name = "SASET SECURE"; command = "nickserv/saset
command { service = "NickServ"; name = "SASET NOEXPIRE"; command = "nickserv/saset/noexpire"; permission = "nickserv/saset/noexpire"; }
+
/*
* ns_set_misc
*
@@ -606,7 +606,6 @@ module
*/
#suspendexpire = 90d
}
-
command { service = "NickServ"; name = "SUSPEND"; command = "nickserv/suspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }
command { service = "NickServ"; name = "UNSUSPEND"; command = "nickserv/unsuspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }
diff --git a/data/operserv.example.conf b/data/operserv.example.conf
index 49c7b99c4..24d0538df 100644
--- a/data/operserv.example.conf
+++ b/data/operserv.example.conf
@@ -488,11 +488,10 @@ module
/*
* The number of LOGON/OPER news items to display when a user logs on.
*
- * This directive is optional, if no set it will default to 3.
+ * This directive is optional, if not set it will default to 3.
*/
#newscount = 3
}
-
command { service = "OperServ"; name = "LOGONNEWS"; command = "operserv/logonnews"; permission = "operserv/news"; }
command { service = "OperServ"; name = "OPERNEWS"; command = "operserv/opernews"; permission = "operserv/news"; }
command { service = "OperServ"; name = "RANDOMNEWS"; command = "operserv/randomnews"; permission = "operserv/news"; }
@@ -555,24 +554,24 @@ module
name = "os_session"
/*
- * Default session limit per host. Once a host reaches it's session limit, all clients attempting
+ * Default session limit per host. Once a host reaches its session limit, all clients attempting
* to connect from that host will be killed.
*
- * This directive is require if os_session is loaded.
+ * This directive is required if os_session is loaded.
*/
defaultsessionlimit = 3
/*
* The maximum session limit that may be set for a host in an exception.
*
- * This directive is require if os_session is loaded.
+ * This directive is required if os_session is loaded.
*/
maxsessionlimit = 100
/*
* Sets the default expiry time for session exceptions.
*
- * This directive is require if os_session is loaded.
+ * This directive is required if os_session is loaded.
*/
exceptionexpiry = 1d
@@ -643,7 +642,6 @@ module
*/
#superadmin = yes
}
-
command { service = "OperServ"; name = "SET"; command = "operserv/set"; permission = "operserv/set"; }
/*
diff --git a/include/modules.h b/include/modules.h
index 77cae7aac..84d07a8e5 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -185,9 +185,9 @@ class ModuleVersion
public:
/** Constructor
- * @param major The major version numbber
- * @param minor The minor version numbber
- * @param patch The patch version numbber
+ * @param major The major version number
+ * @param minor The minor version number
+ * @param patch The patch version number
*/
ModuleVersion(int major, int minor, int patch);
diff --git a/language/anope.nl_NL.po b/language/anope.nl_NL.po
index 82addb1ce..1718468e0 100644
--- a/language/anope.nl_NL.po
+++ b/language/anope.nl_NL.po
@@ -7260,7 +7260,7 @@ msgstr "SET server.naam optie waarde"
#: modules/commands/ns_cert.cpp:336 modules/commands/ns_cert.cpp:346
msgid "SSL certificate fingerprint accepted, you are now identified."
-msgstr "SSL certificaat vingerafdruk aanvaard, je bent nu geïdentificeerd."
+msgstr "SSL certificaatvingerafdruk aanvaard, je bent nu geïdentificeerd."
#: modules/commands/cs_enforce.cpp:137
#, c-format
diff --git a/modules/commands/os_session.cpp b/modules/commands/os_session.cpp
index 80eee41f9..be003900d 100644
--- a/modules/commands/os_session.cpp
+++ b/modules/commands/os_session.cpp
@@ -692,7 +692,7 @@ class OSSession : public Module
* decremented when the user is killed or quits - Adam
*/
++session->count;
-
+
if (kill && !exempt)
{
BotInfo *OperServ = Config->GetClient("OperServ");
diff --git a/modules/pseudoclients/nickserv.cpp b/modules/pseudoclients/nickserv.cpp
index 652f91a88..19e10a983 100644
--- a/modules/pseudoclients/nickserv.cpp
+++ b/modules/pseudoclients/nickserv.cpp
@@ -392,7 +392,7 @@ class NickServCore : public Module, public NickServService
void OnUserNickChange(User *u, const Anope::string &oldnick) anope_override
{
NickAlias *old_na = NickAlias::Find(oldnick), *na = NickAlias::Find(u->nick);
- /* If the new nick isnt registerd or its registerd and not yours */
+ /* If the new nick isn't registered or it's registered and not yours */
if (!na || na->nc != u->Account())
{
/* Remove +r, but keep an account associated with the user */