]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Textual improvements and fixes such as typos, casing, etc. (#1612)
authorRobby <Robby-@users.noreply.github.com>
Sun, 28 Apr 2019 08:14:21 +0000 (10:14 +0200)
committerPeter Powell <petpow@saberuk.com>
Sun, 28 Apr 2019 08:14:21 +0000 (09:14 +0100)
96 files changed:
configure
docs/conf/helpop.conf.example
docs/conf/inspircd.conf.example
docs/conf/modules.conf.example
docs/conf/opers.conf.example
docs/conf/quotes.txt.example
include/inspircd.h
include/logger.h
include/numerics.h
include/protocol.h
src/channels.cpp
src/coremods/core_channel/core_channel.cpp
src/coremods/core_dns.cpp
src/coremods/core_info/cmd_admin.cpp
src/coremods/core_info/cmd_info.cpp
src/coremods/core_oper/cmd_die.cpp
src/coremods/core_oper/cmd_restart.cpp
src/coremods/core_whois.cpp
src/coremods/core_xline/cmd_eline.cpp
src/coremods/core_xline/cmd_gline.cpp
src/coremods/core_xline/cmd_kline.cpp
src/coremods/core_xline/cmd_qline.cpp
src/coremods/core_xline/cmd_zline.cpp
src/coremods/core_xline/core_xline.cpp
src/modules/extra/m_ldap.cpp
src/modules/extra/m_mysql.cpp
src/modules/extra/m_regex_stdlib.cpp
src/modules/m_abbreviation.cpp
src/modules/m_alias.cpp
src/modules/m_allowinvite.cpp
src/modules/m_anticaps.cpp
src/modules/m_banredirect.cpp
src/modules/m_blockamsg.cpp
src/modules/m_callerid.cpp
src/modules/m_cban.cpp
src/modules/m_chanlog.cpp
src/modules/m_clearchan.cpp
src/modules/m_clones.cpp
src/modules/m_connectban.cpp
src/modules/m_customprefix.cpp
src/modules/m_customtitle.cpp
src/modules/m_cycle.cpp
src/modules/m_dccallow.cpp
src/modules/m_deaf.cpp
src/modules/m_delayjoin.cpp
src/modules/m_delaymsg.cpp
src/modules/m_disable.cpp
src/modules/m_exemptchanops.cpp
src/modules/m_filter.cpp
src/modules/m_globalload.cpp
src/modules/m_helpop.cpp
src/modules/m_httpd_acl.cpp
src/modules/m_knock.cpp
src/modules/m_ldapauth.cpp
src/modules/m_maphide.cpp
src/modules/m_mlock.cpp
src/modules/m_modenotice.cpp
src/modules/m_namedmodes.cpp
src/modules/m_namesx.cpp
src/modules/m_nickflood.cpp
src/modules/m_nokicks.cpp
src/modules/m_operchans.cpp
src/modules/m_operlevels.cpp
src/modules/m_operlog.cpp
src/modules/m_opermotd.cpp
src/modules/m_operprefix.cpp
src/modules/m_randquote.cpp
src/modules/m_redirect.cpp
src/modules/m_regex_glob.cpp
src/modules/m_remove.cpp
src/modules/m_restrictmsg.cpp
src/modules/m_rline.cpp
src/modules/m_sapart.cpp
src/modules/m_sasl.cpp
src/modules/m_services_account.cpp
src/modules/m_servprotect.cpp
src/modules/m_shun.cpp
src/modules/m_silence.cpp
src/modules/m_spanningtree/addline.cpp
src/modules/m_spanningtree/ijoin.cpp
src/modules/m_spanningtree/netburst.cpp
src/modules/m_spanningtree/opertype.cpp
src/modules/m_spanningtree/server.cpp
src/modules/m_spanningtree/treeserver.cpp
src/modules/m_spanningtree/treeserver.h
src/modules/m_spanningtree/treesocket1.cpp
src/modules/m_spanningtree/treesocket2.cpp
src/modules/m_sqlauth.cpp
src/modules/m_sqloper.cpp
src/modules/m_sslmodes.cpp
src/modules/m_stripcolor.cpp
src/modules/m_svshold.cpp
src/modules/m_tline.cpp
src/modules/m_uhnames.cpp
src/modules/m_xline_db.cpp
src/users.cpp

index 2d91101b5cae4af778ad84a984fcc1ba7dc0018e..a9d02ffc449c793bb0c7f1e958f1c580c368d7c2 100755 (executable)
--- a/configure
+++ b/configure
@@ -254,7 +254,7 @@ $config{UID}  = $user[2];
 # Warn the user about clock drifting when running on OpenVZ.
 if (-e '/proc/user_beancounters' || -e '/proc/vz/vzaquota') {
        print_warning <<'EOW';
-You are building InspIRCd inside of an an OpenVZ container. If you
+You are building InspIRCd inside of an OpenVZ container. If you
 plan to use InspIRCd in this container then you should make sure that NTP is
 configured on the Hardware Node. Failure to do so may result in clock drifting!
 EOW
index c0dbdc45f7a0cb00ade318039cf4f1df8c15ecaf..e12508659e0bf2ac70a05abbae6026c5e05444d0 100644 (file)
@@ -79,7 +79,7 @@ format are optional.">
 <helpop key="accept" value="/ACCEPT *|(+|-)<nick>[,(+|-)<nick>]+
 
 Manages your accept list. This list is used to determine who can
-private message you when you have usermode +g set.
+private message you when you have user mode +g set.
 
 /ACCEPT * - List accepted nicks
 /ACCEPT +<nick> - Add a nick
@@ -145,7 +145,7 @@ E.g. '/RMODE #channel b m:*' will remove all mute extbans on the channel.">
 This behaves identically to /REMOVE. /REMOVE is a built-in mIRC command
 which caused trouble for some users.">
 
-<helpop key="silence" value="/SILENCE [(+|-)<mask> [CcdiNnPpsTtx]+]
+<helpop key="silence" value="/SILENCE [(+|-)<mask> [CcdiNnPpTtx]]
 
 A server-side ignore of the given n!u@h mask. If the optional flags field is
 specified then it must contain one or more flags which specify what kind of
@@ -157,16 +157,16 @@ messages should be blocked and how they should be blocked.
 
 Valid SILENCE Flags
 -------------------
- c    Matches a CTCP targeted at a channel.
  C    Matches a CTCP targeted at a user.
+ c    Matches a CTCP targeted at a channel.
  d    Default behaviour; equivalent to CciNnPpTt.
  i    Matches an invite to a channel.
- n    Matches a NOTICE targeted at a channel.
  N    Matches a NOTICE targeted at a user.
p    Matches a PRIVMSG targeted at a channel.
n    Matches a NOTICE targeted at a channel.
  P    Matches a PRIVMSG targeted at a user.
t    Matches a TAGMSG targeted at a channel.
p    Matches a PRIVMSG targeted at a channel.
  T    Matches a TAGMSG targeted at a user.
+ t    Matches a TAGMSG targeted at a channel.
  x    Exempt the mask from silence rules.
 
 Any combination of flags is valid.">
@@ -243,7 +243,7 @@ Change or view modes of <target>.
 
 Sets the mode for a channel or a nickname specified in <target>.
 A user may only set modes upon themselves, and may not set the
-+o usermode, and a user may only change channel modes of
++o user mode, and a user may only change channel modes of
 channels where they are at least a halfoperator.
 
 For a list of all user and channel modes, enter /HELPOP UMODES or
@@ -343,10 +343,10 @@ to using a server.">
 
 <helpop key="oper" value="/OPER <username> <password>
 
-Attempts to authenticate a user as an IRC operator.
+Attempts to authenticate as a server operator.
 
 Both successful and unsuccessful oper attempts are
-logged, and sent to online IRC operators.">
+logged, and sent to online server operators.">
 
 <helpop key="list" value="/LIST [<pattern>]
 
@@ -461,8 +461,8 @@ Returns the IP address and nickname of the given user(s).">
 
 This command returns the number of local and global clients matched,
 and the percentage of clients matched, plus how they were matched
-(by IP address or by hostname). Mask should be given as either a
-nick!user@host or user@IP (wildcards accepted).">
+(by IP address or by hostname). Mask should be given as either
+nick!user@host or user@IP (wildcards and CIDR blocks are accepted).">
 
 <helpop key="lockserv" value="/LOCKSERV [:<message>]
 
@@ -488,11 +488,11 @@ Valid FILTER Actions
 --------------------
 
 None    Does nothing
-Warn    Lets the message through and informs +s IRCops of the message
-        and all relevant info
-Block   Blocks message and informs +s IRCops of the blocked message
-        and all relevant info
-Silent  Blocks message, but does not notify IRCops
+Warn    Lets the message through and informs +s server operators
+        of the message and all relevant info
+Block   Blocks message and informs +s server operators of the blocked
+        message and all relevant info
+Silent  Blocks message, but does not notify server operators
 Kill    Kills the user
 Gline   G-lines the user for the specified duration
 Zline   Z-lines the user for the specified duration
@@ -832,16 +832,16 @@ using their cloak when they quit.">
               from channels they are in (requires the deaf module).
  g            In combination with /ACCEPT, provides for server-side
               ignore (requires the callerid module).
- h            Marks as 'available for help' in WHOIS (IRCop only,
-              requires the helpop module).
+ h            Marks as 'available for help' in WHOIS (server operators
+              only, requires the helpop module).
  i            Makes invisible to /WHO if the user using /WHO is not in
               a common channel.
  k            Prevents the user from being kicked from channels, or
               having op modes removed from them (services only,
               requires the servprotect module).
- o            Marks as a IRC operator.
+ o            Marks as a server operator.
  s <mask>     Receives server notices specified by <mask>
-              (IRCop only).
+              (server operators only).
  r            Marks as a having a registered nickname
               (requires the services account module).
  w            Receives wallops messages.
@@ -856,15 +856,15 @@ using their cloak when they quit.">
  H            Hides an oper's oper status from WHOIS (requires the
               hideoper module).
  I            Hides a user's entire channel list in WHOIS from
-              non-IRCops (requires the hidechans module).
+              non-server operators (requires the hidechans module).
  L            Stops redirections done by the redirect module (requires
               the redirect module).
  R            Blocks private messages from unregistered users
               (requires the services account module).
  S            Strips formatting codes out of private messages
               to the user (requires the stripcolor module).
- W            Receives notification when a user uses WHOIS on them
-              (IRCop only, requires the showwhois module).">
+ W            Receives notifications when a user uses WHOIS on them
+              (server operators only, requires the showwhois module).">
 
 <helpop key="chmodes" value="Channel Modes
 -------------
@@ -963,12 +963,12 @@ using their cloak when they quit.">
                     the services account module).
  N                  Prevents users on the channel from changing nick
                     (requires the nonicks module).
- O                  Channel is IRCops only (can only be set by IRCops,
-                    requires the operchans module).
+ O                  Channel is server operators only (can only be set
+                    by server operators, requires the operchans module).
  P                  Makes the channel permanent; Bans, invites, the
                     topic, modes, and such will not be lost when it
-                    empties (can only be set by IRCops, requires
-                    the permchannels module).
+                    empties (can only be set by server operators,
+                    requires the permchannels module).
  Q                  Only U-lined servers and their users can kick
                     (requires the nokicks module).
  R                  Blocks unregistered users from joining (requires
@@ -1042,7 +1042,7 @@ E  Show socket engine events
 S  Show currently held registered nicknames
 G  Show how many local users are connected from each country
 
-Note that all /STATS use is broadcast to online IRC operators.">
+Note that all /STATS use is broadcast to online server operators.">
 
 <helpop key="snomasks" value="Server Notice Masks
 
@@ -1090,7 +1090,7 @@ setting +I <extban>.
 
 Matching extbans:
 
- a:<mask>      Matches user with both a matching banmask and realname,
+ a:<mask>      Matches user with both a matching banmask and real name,
                where <mask> is in the format nick!user@host+realname
                (requires gecosban module).
  j:<channel>   Matches anyone in the given channel. Does not support
@@ -1103,8 +1103,9 @@ Matching extbans:
                serverban module).
  z:<certfp>    Matches users having the given SSL certificate
                fingerprint (requires the sslmodes module).
- O:<opertype>  Matches IRCops of a matching type, mostly useful as an
-               an invite exception (requires the operchans module).
+ O:<opertype>  Matches server operators of a matching type, mostly
+               useful as an invite exception (requires the
+               operchans module).
  R:<account>   Matches users logged into a matching account (requires
                the services account module).
  U:<banmask>   Matches unregistered users matching the given banmask.
index e3f3185d531ddab6949714aa54587c3bd83779d6..3e9c47da215b3077a3fe2e73372acb51810b4c8a 100644 (file)
          # limit: How many users are allowed in this class
          limit="5000"
 
-         # modes: Usermodes that are set on users in this block on connect.
+         # modes: User modes that are set on users in this block on connect.
          # Enabling this option requires that the conn_umodes module be loaded.
          # This entry is highly recommended to use for/with IP cloaking/masking.
          # For the example to work, this also requires that the cloaking
          # limit: How many users are allowed in this class
          limit="5000"
 
-         # modes: Usermodes that are set on users in this block on connect.
+         # modes: User modes that are set on users in this block on connect.
          # Enabling this option requires that the conn_umodes module be loaded.
          # This entry is highly recommended to use for/with IP cloaking/masking.
          # For the example to work, this also requires that the cloaking
           restrictbannedusers="yes"
 
           # genericoper: Setting this value to yes makes all opers on this server
-          # appear as 'is an IRC operator' in their WHOIS, regardless of their
+          # appear as 'is a server operator' in their WHOIS, regardless of their
           # oper type, however oper types are still used internally. This only
           # affects the display in WHOIS.
           genericoper="no"
 <exception
            # host: ident@hostname to exempt.
            # Wildcards and CIDR (if you specify an IP) can be used.
-           host="*@ircop.example.com"
+           host="*@serverop.example.com"
 
            # reason: Reason for exception. Only shown in /STATS e.
            reason="Oper's hostname">
index fe189e7c45a08a5e49224811058abc20c06a284e..4b72ab22747571ecc263a21a81278fd289051447 100644 (file)
 #                    the user receives a 'no such nick' 401 numeric.  #
 #                                                                     #
 # uline       -      Setting this to true will ensure that the user   #
-#                    given in 'requires' is also on a u-lined server, #
+#                    given in 'requires' is also on a U-lined server, #
 #                    as well as actually being on the network. If the #
-#                    user is online, but not on a u-lined server,     #
+#                    user is online, but not on a U-lined server,     #
 #                    then an oper alert is sent out as this is        #
 #                    possibly a sign of a user trying to impersonate  #
 #                    a service.                                       #
 #<module name="botmode">
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# CallerID module: Adds usermode +g which activates hybrid-style
+# CallerID module: Adds user mode +g which activates hybrid-style
 # callerid: block all private messages unless you /ACCEPT first.
 #<module name="callerid">
 #
 #<module name="clearchan">
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# Cloaking module: Adds usermode +x and cloaking support.
+# Cloaking module: Adds user mode +x and cloaking support.
 # Relies on the md5 module being loaded.
 # To cloak users when they connect, load the conn_umodes module and set
 # <connect:modes> to include the +x mode. The example <connect> tag
 #<banfile pattern="*.txt" action="allow">
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# Deaf module: Adds support for the usermodes +dD:
+# Deaf module: Adds support for user modes +d and +D:
 # d - deaf to channel messages and notices.
 # D - deaf to user messages and notices.
 # The +D user mode is not enabled by default to enable link compatibility
 #                      the starting character of a message.
 #                      If 'bypasscharsuline' is empty, then 'bypasschars' will
 #                      match for both regular and U-lined users.
-#  enableprivdeaf    - Whether to enable usermode +D (privdeaf).
-#  privdeafuline     - Whether U-lined users bypass usermode +D (privdeaf).
+#  enableprivdeaf    - Whether to enable user mode +D (privdeaf).
+#  privdeafuline     - Whether U-lined users bypass user mode +D (privdeaf).
 #
 #<deaf bypasschars="" bypasscharsuline="!" enableprivdeaf="no" privdeafuline="yes">
 
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
 # Oper prefixing module: Adds a channel prefix mode +y which is given
-# to all IRC operators automatically on all channels they are in.
+# to all server operators automatically on all channels they are in.
 # This prefix mode is more powerful than channel op and other regular
 # prefix modes.
 #
-# Load this module if you want all your IRC operators to have channel
-# operator powers.
+# Load this module if you want all your server operators to have
+# channel operator powers.
 #<module name="operprefix">
 #
 # You may additionally customise the prefix character.
 #<operprefix prefix="!">
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# Oper MOTD module: Provides support for separate message of the day
+# Oper MOTD module: Provides support for separate message of the day
 # on oper-up.
 # This module is oper-only.
 #<module name="opermotd">
 #
 #-#-#-#-#-#-#-#-#-#-#   OPERMOTD CONFIGURATION   -#-#-#-#-#-#-#-#-#-#-#
 #                                                                     #
-# If you are using the opermotd module, specify the motd here.   #
+# If you are using the opermotd module, specify the motd file here.   #
 #                                                                     #
 # onoper        - If on, the message is sent on /OPER, otherwise it's #
 #                 only sent when /OPERMOTD is used.                   #
 #                 via channel notice.                                 #
 #                                                                     #
 # requirekey    - If enabled, overriding on join requires a channel   #
-#                 key of "override" to be specified                   #
+#                 key of "override" to be specified.                  #
 #                                                                     #
-# enableumode   - If enabled, usermode +O is required for override.   #
+# enableumode   - If enabled, user mode +O is required for override.  #
 #                                                                     #
 #<override noisy="yes" requirekey="no" enableumode="true">
 
 # If you wish to re-check a user when they change nickname (can be
 # useful under some situations, but *can* also use CPU with more users
 # on a server) then set 'matchonnickchange' to yes.
+# If you additionally want Z-lines to be added on matches, then
+# set 'zlineonmatch' to yes.
 # Also, this is where you set what Regular Expression engine is to be
 # used. If you ever change it while running, all of your R-lines will
 # be wiped. This is the regex engine used by all R-lines set, and
 # regex_<engine> must be loaded, or rline will be non-functional
 # until you load it or change the engine to one that is loaded.
 #
-#<rline matchonnickchange="yes" engine="pcre">
+#<rline matchonnickchange="yes" zlineonmatch="no" engine="pcre">
 #
 # Generally, you will NOT want to use 'glob' here, as this turns an
 # R-line into just another G-line. The exceptions are that R-lines will
 #<module name="setidle">
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# Services support module: Adds several usermodes such as +R and +M.
+# Services support module: Adds several user modes such as +R and +M.
 # This module implements the 'identified' state via account names,
 # and is similar in operation to the way asuka and ircu handle services.
 #
 #          endtext="End of server rules.">
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# Show whois module: Adds the +W usermode which allows opers to see
+# Show whois module: Adds the +W user mode which allows opers to see
 # when they are /WHOIS'd.
 # This module is oper-only by default.
 #<module name="showwhois">
 # <wsorigin allow="https://*.example.com/">
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# XLine database: Stores all *-lines (G/Z/K/R/any added by other modules)
+# X-line database: Stores all *-lines (G/Z/K/R/any added by other modules)
 # in a file which is re-loaded on restart. This is useful
 # for two reasons: it keeps bans so users may not evade them, and on
 # bigger networks, server connections will take less time as there will
index 685a252ca669e736cfdccd0a9d32e6c5ebba8143..7cad2589c4306ef98637697b67ef6baa3f1d6751 100644 (file)
@@ -44,7 +44,7 @@
      # *NOTE: These privs are potentially dangerous, as they grant users with them the ability to hammer your server's CPU/RAM as much as they want, essentially.
      privs="users/auspex channels/auspex servers/auspex users/mass-message users/flood/no-throttle users/flood/increased-buffers"
 
-     # usermodes: Oper-only usermodes that opers with this class can use.
+     # usermodes: Oper-only user modes that opers with this class can use.
      usermodes="*"
 
      # chanmodes: Oper-only channel modes that opers with this class can use.
@@ -82,7 +82,7 @@
     # Requires the opermodes module to be loaded.
     modes="+s +cCqQ">
 
-<type name="GlobalOp" classes="SACommands OperChat BanControl HostCloak ServerLink" vhost="ircop.omega.example.org">
+<type name="GlobalOp" classes="SACommands OperChat BanControl HostCloak ServerLink" vhost="serverop.omega.example.org">
 <type name="Helper" classes="HostCloak" vhost="helper.omega.example.org">
 
 
index 56a580e3392d678873a71693cf3b6142397de1ea..c07e1379a0a2124008e0ca192539ff0e5a233b0b 100644 (file)
@@ -82,7 +82,7 @@ It just keeps going and going and going and going and goi <BANG>
 All that I know is that nukes are comming from 127.0.0.1
 I know all about the irc and the mirc cops.
 M re ink n ed d, ple s  r fil
-Please refrain from feeding the IRC Operators. Thank you.
+Please refrain from feeding the server operators. Thank you.
 I know all about mirc stuff, hmm.. I think this channel is experiencing packet loss..
 MacDonalds claims Macintosh stole their next idea of the iMac
 I can't hold her any longer, captain, she's gonna bl.. sorry, got caught up in the moment
index 0de64b103c25757ff446e0c56d66a71a7ad21e10..9b14598e40286bbfcb86e6bf7198d6ec801c81e4 100644 (file)
@@ -300,7 +300,7 @@ class CoreExport InspIRCd
         */
        std::vector<ListenSocket*> ports;
 
-       /** Set to the current signal recieved
+       /** Set to the current signal received
         */
        static sig_atomic_t s_signal;
 
@@ -403,12 +403,12 @@ class CoreExport InspIRCd
        static bool IsSID(const std::string& sid);
 
        /** Handles incoming signals after being set
-        * @param signal the signal recieved
+        * @param signal the signal received
         */
        void SignalHandler(int signal);
 
-       /** Sets the signal recieved
-        * @param signal the signal recieved
+       /** Sets the signal received
+        * @param signal the signal received
         */
        static void SetSignal(int signal);
 
index 5d4a80d9f219756ea149a434d999cbe68f6df39b..c03c84d9a410226e2bb77bc891064abf584c8e56 100644 (file)
@@ -202,7 +202,7 @@ class CoreExport LogManager : public fakederef<LogManager>
         */
        bool AddLogType(const std::string &type, LogStream *l, bool autoclose);
 
-       /** Removes a logstream from the core. After removal, it will not recieve further events.
+       /** Removes a logstream from the core. After removal, it will not receive further events.
         * If the LogStream was ever added with autoclose, it will be closed after this call (this means the pointer won't be valid anymore).
         */
        void DelLogStream(LogStream* l);
index 8b574b24922519efc77e9520ba74f8ebe4a46074..8bde83e1a23d08d037b21b1f0d91992c43b744f9 100644 (file)
@@ -124,7 +124,7 @@ enum
 
        /*
         * A quick side-rant about the next group of numerics..
-        * There are clients out there that like to assume that just because they don't recieve a numeric
+        * There are clients out there that like to assume that just because they don't receive a numeric
         * they know, that they have joined the channel.
         *
         * If IRC was at all properly standardised, this may even be a semi-acceptable assumption to make,
@@ -133,7 +133,7 @@ enum
         * instead!
         *
         * tl;dr version:
-        *   DON'T MAKE YOUR CLIENT ASSUME YOU JOINED UNLESS YOU RECIEVE A JOIN WITH YOUR DAMN NICK ON IT.
+        *   DON'T MAKE YOUR CLIENT ASSUME YOU JOINED UNLESS YOU RECEIVE A JOIN WITH YOUR DAMN NICK ON IT.
         * Thanks.
         *
         *  -- A message from the IRC group for coder sanity, and w00t
index a7c727e8c5727463f5b1f300e120398b4d0738a6..f98f6b37d4d40a90e344471f9ae0854eacd0eec0 100644 (file)
@@ -104,7 +104,7 @@ class CoreExport ProtocolInterface
 
        /** Send a message to a channel.
         * @param target The channel to message.
-        * @param status The status character (e.g. %) required to recieve.
+        * @param status The status character (e.g. %) required to receive.
         * @param text The message to send.
         * @param type The message type (MSG_PRIVMSG or MSG_NOTICE)
         */
@@ -119,7 +119,7 @@ class CoreExport ProtocolInterface
 
        /** Send a notice to a channel.
         * @param target The channel to message.
-        * @param status The status character (e.g. %) required to recieve.
+        * @param status The status character (e.g. %) required to receive.
         * @param text The message to send.
         */
        void SendChannelNotice(Channel* target, char status, const std::string &text)
index 760b5c4bda8299a526b7b14bc906d63e6ab70b1e..0ff252c9517835100e8f7385668f35023aa9c061 100644 (file)
@@ -242,7 +242,7 @@ Channel* Channel::JoinUser(LocalUser* user, std::string cname, bool override, co
                        {
                                if (chan->IsBanned(user))
                                {
-                                       user->WriteNumeric(ERR_BANNEDFROMCHAN, chan->name, "Cannot join channel (You're banned)");
+                                       user->WriteNumeric(ERR_BANNEDFROMCHAN, chan->name, "Cannot join channel (you're banned)");
                                        return NULL;
                                }
                        }
index b3319cba1a4060fb7a706e1cf4b248ba1afeccd1..e95736ccc5d154447241d95dc8f31bceac4b9ea2 100644 (file)
@@ -244,7 +244,7 @@ class CoreModChannel : public Module, public CheckExemption::EventListener
                        if (!MOD_RESULT.check(InspIRCd::TimingSafeCompare(ckey, keygiven)))
                        {
                                // If no key provided, or key is not the right one, and can't bypass +k (not invited or option not enabled)
-                               user->WriteNumeric(ERR_BADCHANNELKEY, chan->name, "Cannot join channel (Incorrect channel key)");
+                               user->WriteNumeric(ERR_BADCHANNELKEY, chan->name, "Cannot join channel (incorrect channel key)");
                                return MOD_RES_DENY;
                        }
                }
@@ -256,7 +256,7 @@ class CoreModChannel : public Module, public CheckExemption::EventListener
                        FIRST_MOD_RESULT(OnCheckInvite, MOD_RESULT, (user, chan));
                        if (MOD_RESULT != MOD_RES_ALLOW)
                        {
-                               user->WriteNumeric(ERR_INVITEONLYCHAN, chan->name, "Cannot join channel (Invite only)");
+                               user->WriteNumeric(ERR_INVITEONLYCHAN, chan->name, "Cannot join channel (invite only)");
                                return MOD_RES_DENY;
                        }
                }
@@ -268,7 +268,7 @@ class CoreModChannel : public Module, public CheckExemption::EventListener
                        FIRST_MOD_RESULT(OnCheckLimit, MOD_RESULT, (user, chan));
                        if (!MOD_RESULT.check(chan->GetUserCounter() < static_cast<size_t>(limitmode.ext.get(chan))))
                        {
-                               user->WriteNumeric(ERR_CHANNELISFULL, chan->name, "Cannot join channel (Channel is full)");
+                               user->WriteNumeric(ERR_CHANNELISFULL, chan->name, "Cannot join channel (channel is full)");
                                return MOD_RES_DENY;
                        }
                }
index 0e21ff5b44f122e67c1f21773877c68808e8d81e..8532179fbc995c4b9b4a65d75775fdd4be3d5dc1 100644 (file)
@@ -36,7 +36,7 @@ namespace DNS
 
 using namespace DNS;
 
-/** A full packet sent or recieved to/from the nameserver
+/** A full packet sent or received to/from the nameserver
  */
 class Packet : public Query
 {
index 8ef68749a4b1fc60b41248fa4866ec570d973165..233c7f2c76a19299705284d039ff6e2b7c814124 100644 (file)
@@ -36,8 +36,8 @@ CmdResult CommandAdmin::Handle(User* user, const Params& parameters)
                return CMD_SUCCESS;
        user->WriteRemoteNumeric(RPL_ADMINME, ServerInstance->Config->ServerName, "Administrative info");
        if (!AdminName.empty())
-               user->WriteRemoteNumeric(RPL_ADMINLOC1, InspIRCd::Format("Name     - %s", AdminName.c_str()));
-       user->WriteRemoteNumeric(RPL_ADMINLOC2, InspIRCd::Format("Nickname - %s", AdminNick.c_str()));
-       user->WriteRemoteNumeric(RPL_ADMINEMAIL, InspIRCd::Format("E-Mail   - %s", AdminEmail.c_str()));
+               user->WriteRemoteNumeric(RPL_ADMINLOC1, InspIRCd::Format("Name: %s", AdminName.c_str()));
+       user->WriteRemoteNumeric(RPL_ADMINLOC2, InspIRCd::Format("Nickname: %s", AdminNick.c_str()));
+       user->WriteRemoteNumeric(RPL_ADMINEMAIL, InspIRCd::Format("Email: %s", AdminEmail.c_str()));
        return CMD_SUCCESS;
 }
index 431175f7a10fc038b755e9018ccea97b5416f55d..29518e376d9d43688a2eaafc42fbf9080691feca 100644 (file)
@@ -31,14 +31,14 @@ CommandInfo::CommandInfo(Module* parent)
 }
 
 static const char* const lines[] = {
-       "                   -/\\- \2InspIRCd\2 -\\/-",
+       "                   -/\\- \002InspIRCd\002 -\\/-",
        "                 November 2002 - Present",
        " ",
-       "\2Core Developers\2:",
+       "\002Core Developers\002:",
        "    Attila Molnar,          Attila,     <attilamolnar@hush.com>",
        "    Peter Powell,           SaberUK,    <petpow@saberuk.com>",
        " ",
-       "\2Former Developers\2:",
+       "\002Former Developers\002:",
        "    Oliver Lupton,          Om,         <om@inspircd.org>",
        "    John Brooks,            Special,    <special@inspircd.org>",
        "    Dennis Friis,           peavey,     <peavey@inspircd.org>",
@@ -47,15 +47,15 @@ static const char* const lines[] = {
        "    Matt Smith,             dz,         <dz@inspircd.org>",
        "    Daniel De Graaf,        danieldg,   <danieldg@inspircd.org>",
        " ",
-       "\2Founding Developers\2:",
+       "\002Founding Developers\002:",
        "    Craig Edwards,          Brain,      <brain@inspircd.org>",
        "    Craig McLure,           Craig,      <craig@inspircd.org>",
        "    Robin Burchell,         w00t,       <w00t@inspircd.org>",
        " ",
-       "\2Active Contributors\2:",
+       "\002Active Contributors\002:",
        "    Adam           linuxdaemon     Sheogorath",
        " ",
-       "\2Former Contributors\2:",
+       "\002Former Contributors\002:",
        "   dmb             Zaba            skenmy         GreenReaper",
        "   Dan             Jason           satmd          owine",
        "   Adremelech      John2           jilles         HiroP",
@@ -67,10 +67,10 @@ static const char* const lines[] = {
        "   Namegduf        Ankit           Phoenix        Taros",
        "   jackmcbarn      ChrisTX         Shawn          Shutter",
        " ",
-       "\2Thanks To\2:",
+       "\002Thanks To\002:",
        "   Asmo            Brik            fraggeln       genius3000",
        " ",
-       " Best experienced with: \2An IRC client\2",
+       " Best experienced with: \002An IRC client\002",
        NULL
 };
 
index 73c5907116b9d981d3a40b5969e7c283053cdd03..48b18bb35bd2f74d2b9cf9d0abe8aa52fe53134a 100644 (file)
@@ -67,7 +67,7 @@ CmdResult CommandDie::Handle(User* user, const Params& parameters)
        else
        {
                ServerInstance->Logs->Log(MODNAME, LOG_SPARSE, "Failed /DIE command from %s", user->GetFullRealHost().c_str());
-               ServerInstance->SNO->WriteGlobalSno('a', "Failed DIE Command from %s.", user->GetFullRealHost().c_str());
+               ServerInstance->SNO->WriteGlobalSno('a', "Failed DIE command from %s.", user->GetFullRealHost().c_str());
                return CMD_FAILURE;
        }
        return CMD_SUCCESS;
index a96993e7ea0bc7250fddfead88857a62d6455a5c..0ddea5c277ae09b19fc8adc2eb841084085df108 100644 (file)
@@ -59,7 +59,7 @@ CmdResult CommandRestart::Handle(User* user, const Params& parameters)
        }
        else
        {
-               ServerInstance->SNO->WriteGlobalSno('a', "Failed RESTART Command from %s.", user->GetFullRealHost().c_str());
+               ServerInstance->SNO->WriteGlobalSno('a', "Failed RESTART command from %s.", user->GetFullRealHost().c_str());
        }
        return CMD_FAILURE;
 }
index 199c9e2acb20572a165ec666019bf8a53eb0cc06..0755f66f7ae075047c28fb040cec06f82abaf346 100644 (file)
@@ -88,7 +88,7 @@ class CommandWhois : public SplitCommand
        void SendChanList(WhoisContextImpl& whois);
 
  public:
-        /** If true then all opers are shown with a generic 'is an IRC operator' line rather than the oper type. */
+        /** If true then all opers are shown with a generic 'is a server operator' line rather than the oper type. */
        bool genericoper;
 
         /** How to handle private/secret channels in the WHOIS response. */
@@ -242,7 +242,7 @@ void CommandWhois::DoWhois(LocalUser* user, User* dest, time_t signon, unsigned
        if (dest->IsOper())
        {
                if (genericoper)
-                       whois.SendLine(RPL_WHOISOPERATOR, "is an IRC operator");
+                       whois.SendLine(RPL_WHOISOPERATOR, "is a server operator");
                else
                        whois.SendLine(RPL_WHOISOPERATOR, InspIRCd::Format("is %s %s on %s", (strchr("AEIOUaeiou",dest->oper->name[0]) ? "an" : "a"), dest->oper->name.c_str(), ServerInstance->Config->Network.c_str()));
        }
index 4a56ba7ea12ad316bb25d05251a07e7bf2571b6d..2a9f192ba57275e164704d5388418d99e38f527e 100644 (file)
@@ -94,7 +94,7 @@ CmdResult CommandEline::Handle(User* user, const Params& parameters)
                }
                else
                {
-                       user->WriteNotice("*** E-line " + target + " not found in list, try /stats e.");
+                       user->WriteNotice("*** E-line " + target + " not found on the list.");
                }
        }
 
index 3e710978dab1b3b17f1acf9b4e0adbbca2cdb92d..05068362fec3de3bd12e1968a1a7ac1d1c846fe6 100644 (file)
@@ -103,7 +103,7 @@ CmdResult CommandGline::Handle(User* user, const Params& parameters)
                }
                else
                {
-                       user->WriteNotice("*** G-line " + target + " not found in list, try /stats g.");
+                       user->WriteNotice("*** G-line " + target + " not found on the list.");
                }
        }
 
index 1ec10aebb68f66ea742e3d8020887733ccef3437..391a70c1d66d12c10c72e13d91182ab16ffe049b 100644 (file)
@@ -102,7 +102,7 @@ CmdResult CommandKline::Handle(User* user, const Params& parameters)
                }
                else
                {
-                       user->WriteNotice("*** K-line " + target + " not found in list, try /stats k.");
+                       user->WriteNotice("*** K-line " + target + " not found on the list.");
                }
        }
 
index afdc0431e3d4bb9b8655d4fc4e57e476a15f7656..66ab405ffef13ab519ea0fc6a8f31fb74e0fb004 100644 (file)
@@ -81,7 +81,7 @@ CmdResult CommandQline::Handle(User* user, const Params& parameters)
                }
                else
                {
-                       user->WriteNotice("*** Q-line " + parameters[0] + " not found in list, try /stats q.");
+                       user->WriteNotice("*** Q-line " + parameters[0] + " not found on the list.");
                        return CMD_FAILURE;
                }
        }
index d32cde295bc6b9145cce1c5f3601af78eb0f3377..095f763cca9576185a12249821f7ef974eda2e50 100644 (file)
@@ -99,7 +99,7 @@ CmdResult CommandZline::Handle(User* user, const Params& parameters)
                }
                else
                {
-                       user->WriteNotice("*** Z-line " + target + " not found in list, try /stats Z.");
+                       user->WriteNotice("*** Z-line " + target + " not found on the list.");
                        return CMD_FAILURE;
                }
        }
index c53834fc0a5636b1ec3f7953a6f154f153d84498..e8f045c588bc091beead6382a671b6e544a1332c 100644 (file)
@@ -38,7 +38,7 @@ bool InsaneBan::MatchesEveryone(const std::string& mask, MatcherBase& test, User
        float percent = ((float)matches / (float)ServerInstance->Users->GetUsers().size()) * 100;
        if (percent > itrigger)
        {
-               ServerInstance->SNO->WriteToSnoMask('a', "\2WARNING\2: %s tried to set a %s-line mask of %s, which covers %.2f%% of the network!", user->nick.c_str(), bantype, mask.c_str(), percent);
+               ServerInstance->SNO->WriteToSnoMask('a', "\002WARNING\002: %s tried to set a %s-line mask of %s, which covers %.2f%% of the network!", user->nick.c_str(), bantype, mask.c_str(), percent);
                return true;
        }
        return false;
index 8c2752dbf3bea78f4b9a695a2b26b926a1caad5b..65b6b2b006ca3b3edffec828ed425ea5a8966d69 100644 (file)
@@ -617,7 +617,7 @@ class ModuleLDAP : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("LDAP support", VF_VENDOR);
+               return Version("Provides LDAP support", VF_VENDOR);
        }
 };
 
index 7c67296033a235c7daa04b224fc45b9a426820af..4f727519fd7c535221f665221104ca424c32844d 100644 (file)
@@ -500,7 +500,7 @@ void ModuleSQL::OnUnloadModule(Module* mod)
 
 Version ModuleSQL::GetVersion()
 {
-       return Version("MySQL support", VF_VENDOR);
+       return Version("Provides MySQL support", VF_VENDOR);
 }
 
 void DispatcherThread::Run()
index 42e5c8bf12106ec09984e4582e39d2a339ef2138..14796c22f861469f86eab438a75c409292904a9e 100644 (file)
@@ -87,7 +87,7 @@ public:
                else
                {
                        if (!stdalgo::string::equalsci(regextype, "ecmascript"))
-                               ServerInstance->SNO->WriteToSnoMask('a', "WARNING: Non-existent regex engine '%s' specified. Falling back to ECMAScript.", regextype.c_str());
+                               ServerInstance->SNO->WriteToSnoMask('a', "WARNING: Nonexistent regex engine '%s' specified. Falling back to ECMAScript.", regextype.c_str());
                        ref.regextype = std::regex::ECMAScript;
                }
        }
index f5065c73f0ae9c012578bfe974bd17f6d56da7ae..963dd5f16513276be27265b63829335f2e03587b 100644 (file)
@@ -35,7 +35,7 @@ class ModuleAbbreviation : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides the ability to abbreviate commands a-la BBC BASIC keywords.",VF_VENDOR);
+               return Version("Provides the ability to abbreviate commands a-la BBC BASIC keywords", VF_VENDOR);
        }
 
        ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated) CXX11_OVERRIDE
index 3e00db7656b854754ec114cef33a3f0947aaf5d0..f6aa5bd0229e8640ad0a07c04546146149689575 100644 (file)
@@ -113,7 +113,7 @@ class ModuleAlias : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides aliases of commands.", VF_VENDOR);
+               return Version("Provides aliases of commands", VF_VENDOR);
        }
 
        std::string GetVar(std::string varname, const std::string &original_line)
@@ -282,8 +282,8 @@ class ModuleAlias : public Module
 
                        if ((a->ULineOnly) && (!u->server->IsULine()))
                        {
-                               ServerInstance->SNO->WriteToSnoMask('a', "NOTICE -- Service "+a->RequiredNick+" required by alias "+a->AliasedCommand+" is not on a u-lined server, possibly underhanded antics detected!");
-                               user->WriteNumeric(ERR_NOSUCHNICK, a->RequiredNick, "is an imposter! Please inform an IRC operator as soon as possible.");
+                               ServerInstance->SNO->WriteToSnoMask('a', "NOTICE -- Service "+a->RequiredNick+" required by alias "+a->AliasedCommand+" is not on a U-lined server, possibly underhanded antics detected!");
+                               user->WriteNumeric(ERR_NOSUCHNICK, a->RequiredNick, "is an imposter! Please inform a server operator as soon as possible.");
                                return 1;
                        }
                }
index 41edbc855d5162a7fe59458bda1bb0774a96f7aa..330feccb7bfa44f4cca292534bb5168559daa1f0 100644 (file)
@@ -57,7 +57,7 @@ class ModuleAllowInvite : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for channel mode +A, allowing /invite freely on a channel and extban A to deny specific users it",VF_VENDOR);
+               return Version("Provides support for channel mode +A, allowing /INVITE freely on a channel, and extban A to deny specific users it", VF_VENDOR);
        }
 };
 
index e916edd53ee12069af7d2badd708961b95ff1521..463ff809b6bafeeba1df568c1b0cc497af58bc7e 100644 (file)
@@ -297,7 +297,7 @@ class ModuleAntiCaps : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for punishing users that send capitalised messages.", VF_COMMON|VF_VENDOR);
+               return Version("Provides support for punishing users that send capitalised messages", VF_COMMON|VF_VENDOR);
        }
 };
 
index 7246527d35ad9b3668f2929ce0ecd2b6ce31f12c..752aedd905dad1d1106d9cef3fe5ddecfe3f8bfb 100644 (file)
@@ -325,13 +325,13 @@ class ModuleBanRedirect : public Module
 
                                                if(destchan && destchan->IsModeSet(redirectmode) && !destlimit.empty() && (destchan->GetUserCounter() >= ConvToNum<size_t>(destlimit)))
                                                {
-                                                       user->WriteNumeric(ERR_BANNEDFROMCHAN, chan->name, "Cannot join channel (You are banned)");
+                                                       user->WriteNumeric(ERR_BANNEDFROMCHAN, chan->name, "Cannot join channel (you're banned)");
                                                        return MOD_RES_DENY;
                                                }
                                                else
                                                {
-                                                       user->WriteNumeric(ERR_BANNEDFROMCHAN, chan->name, "Cannot join channel (You are banned)");
-                                                       user->WriteNumeric(470, chan->name, redir->targetchan, "You are banned from this channel, so you are automatically transferred to the redirected channel.");
+                                                       user->WriteNumeric(ERR_BANNEDFROMCHAN, chan->name, "Cannot join channel (you're banned)");
+                                                       user->WriteNumeric(470, chan->name, redir->targetchan, "You are banned from this channel, so you are automatically being transferred to the redirected channel.");
                                                        nofollow = true;
                                                        Channel::JoinUser(user, redir->targetchan);
                                                        nofollow = false;
index c4af2fd7ff4783b95650ee2a1ce8de4493dd95f6..5ab627c71bedc2964705dfd4a9f4f0c79039b027 100644 (file)
@@ -60,7 +60,7 @@ class ModuleBlockAmsg : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Attempt to block /amsg, at least some of the irritating mIRC scripts.",VF_VENDOR);
+               return Version("Attempt to block /amsg or /ame, at least some of the irritating client scripts", VF_VENDOR);
        }
 
        void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
@@ -120,12 +120,12 @@ class ModuleBlockAmsg : public Module
                        {
                                // Block it...
                                if (action == IBLOCK_KILLOPERS || action == IBLOCK_NOTICEOPERS)
-                                       ServerInstance->SNO->WriteToSnoMask('a', "%s had an /amsg or /ame denied", user->nick.c_str());
+                                       ServerInstance->SNO->WriteToSnoMask('a', "%s had an /amsg or /ame blocked", user->nick.c_str());
 
                                if (action == IBLOCK_KILL || action == IBLOCK_KILLOPERS)
                                        ServerInstance->Users->QuitUser(user, "Attempted to global message (/amsg or /ame)");
                                else if (action == IBLOCK_NOTICE || action == IBLOCK_NOTICEOPERS)
-                                       user->WriteNotice("Global message (/amsg or /ame) denied");
+                                       user->WriteNotice("Global message (/amsg or /ame) blocked");
 
                                return MOD_RES_DENY;
                        }
index f2cf112bf6581b15f2b0200286da651f5821dc3e..a13d4d613fb36e2f4ba728959365a0789550e1ac 100644 (file)
@@ -392,7 +392,7 @@ public:
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Implementation of callerid, usermode +g, /accept", VF_COMMON | VF_VENDOR);
+               return Version("Implementation of callerid, provides user mode +g and the ACCEPT command", VF_COMMON | VF_VENDOR);
        }
 
        void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE
@@ -422,7 +422,7 @@ public:
                        if (now > (dat->lastnotify + (time_t)notify_cooldown))
                        {
                                user->WriteNumeric(RPL_TARGNOTIFY, dest->nick, "has been informed that you messaged them.");
-                               dest->WriteRemoteNumeric(RPL_UMODEGMSG, user->nick, InspIRCd::Format("%s@%s", user->ident.c_str(), user->GetDisplayedHost().c_str()), InspIRCd::Format("is messaging you, and you have umode +g. Use /ACCEPT +%s to allow.",
+                               dest->WriteRemoteNumeric(RPL_UMODEGMSG, user->nick, InspIRCd::Format("%s@%s", user->ident.c_str(), user->GetDisplayedHost().c_str()), InspIRCd::Format("is messaging you, and you have user mode +g set. Use /ACCEPT +%s to allow.",
                                                user->nick.c_str()));
                                dat->lastnotify = now;
                        }
index 32b45abfb7cf6aaf663db3c8847e13346189255f..62fb993afc15f07feb672ca709bcf1f02d4b698f 100644 (file)
@@ -106,7 +106,7 @@ class CommandCBan : public Command
                        }
                        else
                        {
-                               user->WriteNotice("*** CBan " + parameters[0] + " not found in list, try /stats C.");
+                               user->WriteNotice("*** CBan " + parameters[0] + " not found on the list.");
                                return CMD_FAILURE;
                        }
                }
@@ -204,7 +204,7 @@ class ModuleCBan : public Module, public Stats::EventListener
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Gives /cban, aka C-lines. Think Q-lines, for channels.", VF_COMMON | VF_VENDOR);
+               return Version("Provides the CBAN command, like Q-lines, but for channels", VF_COMMON | VF_VENDOR);
        }
 };
 
index afe213f6141f441e96d717da751ebe640203ed67..64b79a39ede443f86aea5dd173c1e5c5a209910e 100644 (file)
@@ -62,7 +62,7 @@ class ModuleChanLog : public Module
                if (itpair.first == itpair.second)
                        return MOD_RES_PASSTHRU;
 
-               const std::string snotice = "\2" + desc + "\2: " + msg;
+               const std::string snotice = "\002" + desc + "\002: " + msg;
 
                for (ChanLogTargets::const_iterator it = itpair.first; it != itpair.second; ++it)
                {
@@ -80,7 +80,7 @@ class ModuleChanLog : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Logs snomask output to channel(s).", VF_VENDOR);
+               return Version("Logs snomask output to channel(s)", VF_VENDOR);
        }
 };
 
index 096ce6022595c71cff7d4d800cd3d876a8851e6d..859da46a40f3f38809f001c9aec74e9c6796ab6d 100644 (file)
@@ -211,7 +211,7 @@ class ModuleClearChan : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Adds /CLEARCHAN that allows opers to masskick, masskill or mass G/Z-line users on a channel.", VF_VENDOR|VF_OPTCOMMON);
+               return Version("Provides the CLEARCHAN command that allows opers to masskick, masskill or mass G/Z-line users on a channel", VF_VENDOR|VF_OPTCOMMON);
        }
 };
 
index 06956c564d796f70621eb956255f9044a7e2f937..1a3a5fd7bb04498401bfb966149e0c53e7a3d99d 100644 (file)
@@ -96,7 +96,7 @@ class ModuleClones : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides the /CLONES command to retrieve information on clones.", VF_VENDOR);
+               return Version("Provides the CLONES command to retrieve information on clones", VF_VENDOR);
        }
 };
 
index b3cabd18acd50fa7037af4a4a15af3f2957874a2..9ce5830637842c9d62ae9f683119f40976540557 100644 (file)
@@ -33,7 +33,7 @@ class ModuleConnectBan : public Module
  public:
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Throttles the connections of IP ranges who try to connect flood.", VF_VENDOR);
+               return Version("Throttles the connections of IP ranges who try to connect flood", VF_VENDOR);
        }
 
        void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
index befc9750d1c90e89957ee14e15ea9b07a635cca0..831aa908db92b0bbb3a797c40d55d085bed96097 100644 (file)
@@ -58,7 +58,7 @@ class ModuleCustomPrefix : public Module
                        {
                                ModeHandler* mh = ServerInstance->Modes->FindMode(name, MODETYPE_CHANNEL);
                                if (!mh)
-                                       throw ModuleException("<customprefix:change> specified for a non-existent mode at " + tag->getTagLocation());
+                                       throw ModuleException("<customprefix:change> specified for a nonexistent mode at " + tag->getTagLocation());
 
                                PrefixMode* pm = mh->IsPrefixMode();
                                if (!pm)
index da88d1759e0f3f3feeaa13ea78165bcc4bf87bb8..ec82119146ee6a569a0e008284f3faba803f1dfd 100644 (file)
@@ -160,7 +160,7 @@ class ModuleCustomTitle : public Module, public Whois::LineEventListener
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Custom Title for users", VF_OPTCOMMON | VF_VENDOR);
+               return Version("Custom title for users", VF_OPTCOMMON | VF_VENDOR);
        }
 };
 
index 57c8ea3b20a3e9d3d8f46bc10747583a7597fa8a..5f3dddc6f714262e0d042c8ffcf36b50d5c6bef1 100644 (file)
@@ -84,7 +84,7 @@ class ModuleCycle : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides command CYCLE, acts as a server-side HOP command to part and rejoin a channel.", VF_VENDOR);
+               return Version("Provides the CYCLE command, acts as a server-side HOP command to part and rejoin a channel", VF_VENDOR);
        }
 };
 
index 86fa507247b518aa133d8531f0fdbda8b9c1da04..00b57bcba519bff10bf9128461b1fce5309ea953 100644 (file)
@@ -529,7 +529,7 @@ class ModuleDCCAllow : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for the /DCCALLOW command", VF_COMMON | VF_VENDOR);
+               return Version("Provides support for the DCCALLOW command", VF_COMMON | VF_VENDOR);
        }
 };
 
index a955275eece31cd95b501fd9a4f7e9c0b5cb4c57..90412c5c1201d67e0256836e542ed0010f6504bf 100644 (file)
@@ -34,7 +34,7 @@ class DeafMode : public ModeHandler
                        return MODEACTION_DENY;
 
                if (adding)
-                       dest->WriteNotice("*** You have enabled usermode +d, deaf mode. This mode means you WILL NOT receive any messages from any channels you are in. If you did NOT mean to do this, use /mode " + dest->nick + " -d.");
+                       dest->WriteNotice("*** You have enabled user mode +d, deaf mode. This mode means you WILL NOT receive any messages from any channels you are in. If you did NOT mean to do this, use /mode " + dest->nick + " -d.");
 
                dest->SetMode(this, adding);
                return MODEACTION_ALLOW;
@@ -57,7 +57,7 @@ class PrivDeafMode : public ModeHandler
                        return MODEACTION_DENY;
 
                if (adding)
-                       dest->WriteNotice("*** You have enabled usermode +D, private deaf mode. This mode means you WILL NOT receive any messages and notices from any nicks. If you did NOT mean to do this, use /mode " + dest->nick + " -D.");
+                       dest->WriteNotice("*** You have enabled user mode +D, private deaf mode. This mode means you WILL NOT receive any messages and notices from any nicks. If you did NOT mean to do this, use /mode " + dest->nick + " -D.");
 
                dest->SetMode(this, adding);
                return MODEACTION_ALLOW;
@@ -140,7 +140,7 @@ class ModuleDeaf : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides usermodes +dD to block channel and/or user messages and notices", VF_VENDOR);
+               return Version("Provides user modes +d and +D to block channel and user messages/notices", VF_VENDOR);
        }
 };
 
index 40a585909b294a399e0042591810655b52638d83..7db60fa6404690518c6a108d3a0d27cc1aa0bed3 100644 (file)
@@ -127,7 +127,7 @@ ModeAction DelayJoinMode::OnModeChange(User* source, User* dest, Channel* channe
 
 Version ModuleDelayJoin::GetVersion()
 {
-       return Version("Allows for delay-join channels (+D) where users don't appear to join until they speak", VF_VENDOR);
+       return Version("Allows for delay-join channels (channel mode +D) where users don't appear to join until they speak", VF_VENDOR);
 }
 
 ModResult ModuleDelayJoin::OnNamesListItem(LocalUser* issuer, Membership* memb, std::string& prefixes, std::string& nick)
index 5805d4bad0c00a7cb9d01b7fe259b217a1c673fb..ed37477d84f33250bed6ea791b503f9351442e93 100644 (file)
@@ -47,7 +47,7 @@ class DelayMsgMode : public ParamMode<DelayMsgMode, LocalIntExt>
 
 class ModuleDelayMsg
        : public Module
-       , public CTCTags::EventListener 
+       , public CTCTags::EventListener
 {
  private:
        DelayMsgMode djm;
@@ -91,7 +91,7 @@ void DelayMsgMode::OnUnset(User* source, Channel* chan)
 
 Version ModuleDelayMsg::GetVersion()
 {
-       return Version("Provides channelmode +d <int>, to deny messages to a channel until <int> seconds.", VF_VENDOR);
+       return Version("Provides channel mode +d <int>, to deny messages to a channel until <int> seconds have passed", VF_VENDOR);
 }
 
 void ModuleDelayMsg::OnUserJoin(Membership* memb, bool sync, bool created, CUList&)
@@ -137,7 +137,7 @@ ModResult ModuleDelayMsg::HandleMessage(User* user, const MessageTarget& target,
        {
                if (channel->GetPrefixValue(user) < VOICE_VALUE)
                {
-                       user->WriteNumeric(ERR_CANNOTSENDTOCHAN, channel->name, InspIRCd::Format("You must wait %d seconds after joining to send to channel (+d)", len));
+                       user->WriteNumeric(ERR_CANNOTSENDTOCHAN, channel->name, InspIRCd::Format("You must wait %d seconds after joining to send to the channel (+d)", len));
                        return MOD_RES_DENY;
                }
        }
index fb69f7bec780a4096ca92ebc1aa09d2a13dfbef9..97013a2dadacbf2453c7718ce0bf5e8f7a6d7821 100644 (file)
@@ -55,7 +55,7 @@ class ModuleDisable : public Module
                        // Check that the mode actually exists.
                        ModeHandler* mh = ServerInstance->Modes->FindMode(chr, type);
                        if (!chr)
-                               throw ModuleException(InspIRCd::Format("Non-existent mode '%c' was specified in <disabled:%s> at %s",
+                               throw ModuleException(InspIRCd::Format("Nonexistent mode '%c' was specified in <disabled:%s> at %s",
                                        chr, field.c_str(), tag->getTagLocation().c_str()));
 
                        // Disable the mode.
@@ -89,7 +89,7 @@ class ModuleDisable : public Module
                        // Check that the command actually exists.
                        Command* handler = ServerInstance->Parser.GetHandler(command);
                        if (!handler)
-                               throw ModuleException(InspIRCd::Format("Non-existent command '%s' was specified in <disabled:commands> at %s",
+                               throw ModuleException(InspIRCd::Format("Nonexistent command '%s' was specified in <disabled:commands> at %s",
                                        command.c_str(), tag->getTagLocation().c_str()));
 
                        // Prevent admins from disabling COMMANDS and MODULES for transparency reasons.
index a7f86cdb5440c25c6769b37a3688823f9d977eea..61b20fc9bf8740d07970a870c639039b3e691f62 100644 (file)
@@ -116,7 +116,7 @@ class ModuleExemptChanOps : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides the ability to allow channel operators to be exempt from certain modes.",VF_VENDOR);
+               return Version("Provides the ability to allow channel operators to be exempt from certain modes", VF_VENDOR);
        }
 
        void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
index 7a7497d1a8a559f5c07a05d47f97fa08510e6adc..49553545ca747c7a662c7e774be1ca0ae540f02d 100644 (file)
@@ -226,7 +226,7 @@ CmdResult CommandFilter::Handle(User* user, const Params& parameters)
                }
                else
                {
-                       user->WriteNotice("*** Filter '" + parameters[0] + "' not found in list, try /stats s.");
+                       user->WriteNotice("*** Filter '" + parameters[0] + "' not found on the list.");
                        return CMD_FAILURE;
                }
        }
index adc1b59ff855ed64954cd02409cd4bf674bb3247..8bd63a065ace10acd606672786e5315b556807a5 100644 (file)
@@ -169,7 +169,7 @@ class ModuleGlobalLoad : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Allows global loading of a module.", VF_COMMON | VF_VENDOR);
+               return Version("Allows global loading of a module", VF_COMMON | VF_VENDOR);
        }
 };
 
index f913140d626b8b597d442bd38e7fa709204d0873..5aa719c2f678fe84f46ad21dff078b951664fd4e 100644 (file)
@@ -162,7 +162,7 @@ class ModuleHelpop : public Module, public Whois::EventListener
 
                Version GetVersion() CXX11_OVERRIDE
                {
-                       return Version("Provides the /HELPOP command for useful information", VF_VENDOR);
+                       return Version("Provides the HELPOP command for useful information", VF_VENDOR);
                }
 };
 
index 8052db4bc6a5a216d1d628c4be7cab6635b0d3ba..9845e5b0ff45bbe6d7e9813b87474a597d177fde 100644 (file)
@@ -225,7 +225,7 @@ class ModuleHTTPAccessList : public Module, public HTTPACLEventListener
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides access control lists (passwording of resources, ip restrictions etc) to m_httpd dependent modules", VF_VENDOR);
+               return Version("Provides access control lists (passwording of resources, IP restrictions, etc) to m_httpd dependent modules", VF_VENDOR);
        }
 };
 
index 435f30d590a09f7999ce1e4454d84830602bf4b2..8d6c70092273ba5bdbde27404a92ca75706f6db2 100644 (file)
@@ -133,7 +133,7 @@ class ModuleKnock : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for /KNOCK and channel mode +K", VF_OPTCOMMON | VF_VENDOR);
+               return Version("Provides the KNOCK command and channel mode +K", VF_OPTCOMMON | VF_VENDOR);
        }
 };
 
index fedf02b4dd107f1c7e1c5f694126fc408ee3b12d..b833b93844ee91397c611f52a47d1309a52e0186 100644 (file)
@@ -393,7 +393,7 @@ public:
                if (user->password.empty())
                {
                        if (verbose)
-                               ServerInstance->SNO->WriteToSnoMask('c', "Forbidden connection from %s (No password provided)", user->GetFullRealHost().c_str());
+                               ServerInstance->SNO->WriteToSnoMask('c', "Forbidden connection from %s (no password provided)", user->GetFullRealHost().c_str());
                        ServerInstance->Users->QuitUser(user, killreason);
                        return MOD_RES_DENY;
                }
@@ -401,7 +401,7 @@ public:
                if (!LDAP)
                {
                        if (verbose)
-                               ServerInstance->SNO->WriteToSnoMask('c', "Forbidden connection from %s (Unable to find LDAP provider)", user->GetFullRealHost().c_str());
+                               ServerInstance->SNO->WriteToSnoMask('c', "Forbidden connection from %s (unable to find LDAP provider)", user->GetFullRealHost().c_str());
                        ServerInstance->Users->QuitUser(user, killreason);
                        return MOD_RES_DENY;
                }
@@ -440,7 +440,7 @@ public:
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Allow/Deny connections based upon answer from LDAP server", VF_VENDOR);
+               return Version("Allow/deny connections based upon answers from an LDAP server", VF_VENDOR);
        }
 };
 
index aade5ea60c0c245c3c4250c67573be40774e9f02..5298a8d0483607ec9c289ca97bf26bad6a8c2aa8 100644 (file)
@@ -41,7 +41,7 @@ class ModuleMapHide : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Replaces the output of /MAP and /LINKS with an URL.", VF_VENDOR);
+               return Version("Replaces the output of /MAP and /LINKS with an URL", VF_VENDOR);
        }
 };
 
index 85787ae9644b2e6c2c21983141c9a8fb3ceea46c..59748048e6fb7174b2150f63a1f0ac1c87b21f67 100644 (file)
@@ -37,7 +37,7 @@ class ModuleMLock : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Implements the ability to have server-side MLOCK enforcement.", VF_VENDOR);
+               return Version("Implements the ability to have server-side MLOCK enforcement", VF_VENDOR);
        }
 
        ModResult OnRawMode(User* source, Channel* channel, ModeHandler* mh, const std::string& parameter, bool adding) CXX11_OVERRIDE
@@ -56,7 +56,7 @@ class ModuleMLock : public Module
                std::string::size_type p = mlock_str->find(mode);
                if (p != std::string::npos)
                {
-                       source->WriteNumeric(ERR_MLOCKRESTRICTED, channel->name, mode, *mlock_str, "MODE cannot be set due to channel having an active MLOCK restriction policy");
+                       source->WriteNumeric(ERR_MLOCKRESTRICTED, channel->name, mode, *mlock_str, "MODE cannot be set due to the channel having an active MLOCK restriction policy");
                        return MOD_RES_DENY;
                }
 
index 59e0e8dc16782f187aa0940ecd1029f1387d4a9c..061933323f9cebb751021c57e48163bc06b38957 100644 (file)
@@ -65,7 +65,7 @@ class ModuleModeNotice : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides the /MODENOTICE command", VF_VENDOR);
+               return Version("Provides the MODENOTICE command", VF_VENDOR);
        }
 };
 
index 977ac625fbbefc7e20e8bbc2cf5d2d89442c0f71..2fbdca26561856ca5ecc29ac6ae66b12a73d9248 100644 (file)
@@ -129,7 +129,7 @@ class ModuleNamedModes : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides the ability to manipulate modes via long names.",VF_VENDOR);
+               return Version("Provides the ability to manipulate modes via long names", VF_VENDOR);
        }
 
        void Prioritize() CXX11_OVERRIDE
index ffece5cb401654e81d07a1e382e6dd5f97b3d1dd..2b4fd87b4daf50c87b209a9832500a122cc77509 100644 (file)
@@ -43,7 +43,7 @@ class ModuleNamesX
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides the NAMESX (CAP multi-prefix) capability.",VF_VENDOR);
+               return Version("Provides the NAMESX (CAP multi-prefix) capability", VF_VENDOR);
        }
 
        void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE
index ce8b364e45a36fa28fae1740947c3e02abff31ca..17d6db9560184802169389466bb70122bc64e580 100644 (file)
@@ -202,7 +202,7 @@ class ModuleNickFlood : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Channel mode F - nick flood protection", VF_VENDOR);
+               return Version("Provides channel mode +F, nick flood protection", VF_VENDOR);
        }
 };
 
index 3155dcb6c9ac1a115ebca6c668796682b043026e..8a87f7df83650dfd7478781cbdc5acce9ca79707 100644 (file)
@@ -50,7 +50,7 @@ class ModuleNoKicks : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides channel mode +Q to prevent kicks on the channel.", VF_VENDOR);
+               return Version("Provides channel mode +Q to prevent kicks on the channel", VF_VENDOR);
        }
 };
 
index f0812ce27d22e1502b24e39c273d7144f6cb1ee6..e423acb0cdb1a5ca107d7cb28c6c7316bac8211a 100644 (file)
@@ -50,7 +50,7 @@ class ModuleOperChans : public Module
        {
                if (chan && chan->IsModeSet(oc) && !user->IsOper())
                {
-                       user->WriteNumeric(ERR_CANTJOINOPERSONLY, chan->name, InspIRCd::Format("Only IRC operators may join %s (+O is set)", chan->name.c_str()));
+                       user->WriteNumeric(ERR_CANTJOINOPERSONLY, chan->name, InspIRCd::Format("Only server operators may join %s (+O is set)", chan->name.c_str()));
                        return MOD_RES_DENY;
                }
                return MOD_RES_PASSTHRU;
index 2e02ffddf633472e4972402aad32e1d931ad2ac2..11d5d0ceead8d5aefb6900d47117002ad2c22d5e 100644 (file)
@@ -27,7 +27,7 @@ class ModuleOperLevels : public Module
        public:
                Version GetVersion() CXX11_OVERRIDE
                {
-                       return Version("Gives each oper type a 'level', cannot kill opers 'above' your level.", VF_VENDOR);
+                       return Version("Gives each oper type a 'level', cannot kill opers 'above' your level", VF_VENDOR);
                }
 
                ModResult OnKill(User* source, User* dest, const std::string &reason) CXX11_OVERRIDE
@@ -42,10 +42,10 @@ class ModuleOperLevels : public Module
                                {
                                        if (IS_LOCAL(source))
                                        {
-                                               ServerInstance->SNO->WriteGlobalSno('a', "Oper %s (level %lu) attempted to /kill a higher oper: %s (level %lu): Reason: %s",
+                                               ServerInstance->SNO->WriteGlobalSno('a', "Oper %s (level %lu) attempted to /KILL a higher level oper: %s (level %lu), reason: %s",
                                                        source->nick.c_str(), source_level, dest->nick.c_str(), dest_level, reason.c_str());
                                        }
-                                       dest->WriteNotice("*** Oper " + source->nick + " attempted to /kill you!");
+                                       dest->WriteNotice("*** Oper " + source->nick + " attempted to /KILL you!");
                                        source->WriteNumeric(ERR_NOPRIVILEGES, InspIRCd::Format("Permission Denied - Oper %s is a higher level than you", dest->nick.c_str()));
                                        return MOD_RES_DENY;
                                }
index ffce7ebbad8f4700ec79816cda8492e32f66dce9..c0deb81eda0640a7d5b357a6e7a70ba369c71fa1 100644 (file)
@@ -33,7 +33,7 @@ class ModuleOperLog : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("A module which logs all oper commands to the ircd log at default loglevel.", VF_VENDOR);
+               return Version("Provides logging of all oper commands to the ircd log at the default loglevel", VF_VENDOR);
        }
 
        void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
index 656a63e3c11aa87f52e3cbbca947f22ebdd879bb..afce073a85bd04fa645dc1835732e43aaf420ac7 100644 (file)
@@ -64,18 +64,18 @@ class CommandOpermotd : public Command
                if (opermotd.empty())
                {
                        if (show_missing)
-                               user->WriteRemoteNumeric(ERR_NOOPERMOTD, "OPERMOTD file is missing");
+                               user->WriteRemoteNumeric(ERR_NOOPERMOTD, "OPERMOTD file is missing.");
                        return;
                }
 
-               user->WriteRemoteNumeric(RPL_OMOTDSTART, "- IRC Operators Message of the Day");
+               user->WriteRemoteNumeric(RPL_OMOTDSTART, "Server operators message of the day");
 
                for (file_cache::const_iterator i = opermotd.begin(); i != opermotd.end(); ++i)
                {
                        user->WriteRemoteNumeric(RPL_OMOTD, InspIRCd::Format("- %s", i->c_str()));
                }
 
-               user->WriteRemoteNumeric(RPL_ENDOFOMOTD, "End of OPERMOTD");
+               user->WriteRemoteNumeric(RPL_ENDOFOMOTD, "End of OPERMOTD");
        }
 };
 
@@ -93,7 +93,7 @@ class ModuleOpermotd : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Shows a message to opers after oper-up, adds /opermotd", VF_VENDOR | VF_OPTCOMMON);
+               return Version("Shows a message to opers after oper-up and adds the OPERMOTD command", VF_VENDOR | VF_OPTCOMMON);
        }
 
        void OnOper(User* user, const std::string &opertype) CXX11_OVERRIDE
index a8afd7c961a6e8de969e40e58f388eb865d2a1e8..dbc0a3b5aa1b6d9481cb9dcda87398f01f30ea21 100644 (file)
@@ -101,7 +101,7 @@ class ModuleOperPrefixMode : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Gives opers cmode +y which provides a staff prefix.", VF_VENDOR);
+               return Version("Gives opers channel mode +y which provides a staff prefix", VF_VENDOR);
        }
 
        void Prioritize() CXX11_OVERRIDE
index 1bb28583e7b27690fe8dd48515a5322213314736..8e43552e9a88a49aa12e5a6cd2aae589f4c7ad3e 100644 (file)
@@ -51,7 +51,7 @@ class ModuleRandQuote : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides random quotes on connect.", VF_VENDOR);
+               return Version("Provides random quotes on connect", VF_VENDOR);
        }
 };
 
index b71a2f3db608570e591876f46fa4af83ebb27901..5e14b211e5324d95ccf39f5cf6cd8787d457f0c0 100644 (file)
@@ -111,7 +111,7 @@ class ModuleRedirect : public Module
                                        }
                                        else
                                        {
-                                               user->WriteNumeric(470, cname, channel, "You may not join this channel, so you are automatically being transferred to the redirect channel.");
+                                               user->WriteNumeric(470, cname, channel, "You may not join this channel, so you are automatically being transferred to the redirected channel.");
                                                Channel::JoinUser(user, channel);
                                                return MOD_RES_DENY;
                                        }
index 9c316288523528477f299baa7ac46555e8206a0e..dea079803df0c53871e202d0231e4719dde61e15 100644 (file)
@@ -56,7 +56,7 @@ public:
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Regex module using plain wildcard matching.", VF_VENDOR);
+               return Version("Regex module using plain wildcard matching", VF_VENDOR);
        }
 };
 
index 357b2ea41ac9edadeb87e4b404881aeef0fa94c5..e239142469c9f4f9bff8bb29c45f11081edbeb58 100644 (file)
@@ -87,13 +87,13 @@ class RemoveBase : public Command
 
                if (!channel->HasUser(target))
                {
-                       user->WriteNotice(InspIRCd::Format("*** The user %s is not on channel %s", target->nick.c_str(), channel->name.c_str()));
+                       user->WriteNotice(InspIRCd::Format("*** User %s is not on channel %s", target->nick.c_str(), channel->name.c_str()));
                        return CMD_FAILURE;
                }
 
                if (target->server->IsULine())
                {
-                       user->WriteNumeric(ERR_CHANOPRIVSNEEDED, channame, "Only a u-line may remove a u-line from a channel.");
+                       user->WriteNumeric(ERR_CHANOPRIVSNEEDED, channame, "Only a U-line may remove a U-line from a channel.");
                        return CMD_FAILURE;
                }
 
@@ -142,7 +142,7 @@ class RemoveBase : public Command
                        }
                        else
                        {
-                               user->WriteNotice(InspIRCd::Format("*** You do not have access to /remove %s from %s", target->nick.c_str(), channel->name.c_str()));
+                               user->WriteNotice(InspIRCd::Format("*** You do not have access to /REMOVE %s from %s", target->nick.c_str(), channel->name.c_str()));
                                return CMD_FAILURE;
                        }
                }
@@ -222,7 +222,7 @@ class ModuleRemove : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides a /remove command, this is mostly an alternative to /kick, except makes users appear to have parted the channel", VF_OPTCOMMON | VF_VENDOR);
+               return Version("Provides the REMOVE command as an alternative to KICK, it makes users appear to have left the channel", VF_OPTCOMMON | VF_VENDOR);
        }
 };
 
index d5d9c818c160b06e562125aaed46b5fe829420c7..531c1702915269c615014910054dcbc972ef23a2 100644 (file)
@@ -24,7 +24,7 @@
 
 class ModuleRestrictMsg
        : public Module
-       , public CTCTags::EventListener 
+       , public CTCTags::EventListener
 {
  private:
        ModResult HandleMessage(User* user, const MessageTarget& target)
@@ -68,7 +68,7 @@ class ModuleRestrictMsg
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Forbids users from messaging each other. Users may still message opers and opers may message other opers.",VF_VENDOR);
+               return Version("Forbids users from messaging each other. Users may still message opers and opers may message other opers", VF_VENDOR);
        }
 };
 
index c7088a8554880814b9ec5e1f6dd8d302fb006f6d..f9abe2158fffd769f99227edd37e4d68b061c59e 100644 (file)
@@ -161,7 +161,7 @@ class CommandRLine : public Command
                        }
                        catch (ModuleException &e)
                        {
-                               ServerInstance->SNO->WriteToSnoMask('a',"Could not add RLINE: " + e.GetReason());
+                               ServerInstance->SNO->WriteToSnoMask('a', "Could not add R-line: " + e.GetReason());
                        }
 
                        if (r)
@@ -170,11 +170,11 @@ class CommandRLine : public Command
                                {
                                        if (!duration)
                                        {
-                                               ServerInstance->SNO->WriteToSnoMask('x',"%s added permanent R-line for %s: %s", user->nick.c_str(), parameters[0].c_str(), parameters[2].c_str());
+                                               ServerInstance->SNO->WriteToSnoMask('x', "%s added permanent R-line for %s: %s", user->nick.c_str(), parameters[0].c_str(), parameters[2].c_str());
                                        }
                                        else
                                        {
-                                               ServerInstance->SNO->WriteToSnoMask('x', "%s added timed R-line for %s to expire in %s (on %s): %s",
+                                               ServerInstance->SNO->WriteToSnoMask('x', "%s added timed R-line for %s, expires in %s (on %s): %s",
                                                        user->nick.c_str(), parameters[0].c_str(), InspIRCd::DurationString(duration).c_str(),
                                                        InspIRCd::TimeString(ServerInstance->Time() + duration).c_str(), parameters[2].c_str());
                                        }
@@ -198,7 +198,7 @@ class CommandRLine : public Command
                        }
                        else
                        {
-                               user->WriteNotice("*** R-line " + parameters[0] + " not found in list, try /stats R.");
+                               user->WriteNotice("*** R-line " + parameters[0] + " not found on the list.");
                        }
                }
 
@@ -246,7 +246,7 @@ class ModuleRLine : public Module, public Stats::EventListener
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("RLINE: Regexp user banning.", VF_COMMON | VF_VENDOR, rxfactory ? rxfactory->name : "");
+               return Version("Provides support for banning users through regular expression patterns", VF_COMMON | VF_VENDOR, rxfactory ? rxfactory->name : "");
        }
 
        ModResult OnUserRegister(LocalUser* user) CXX11_OVERRIDE
index 4f7bfdb1f7410d0ae28cb57d7a7b679f2a4124f8..4753ef16fe7bd1942feb23cbe57454b424948e3f 100644 (file)
@@ -96,7 +96,7 @@ class ModuleSapart : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides command SAPART to force-part users from a channel.", VF_OPTCOMMON | VF_VENDOR);
+               return Version("Provides the SAPART command to force-part users from a channel", VF_OPTCOMMON | VF_VENDOR);
        }
 };
 
index cb52451111cd16e7767d405779c79cdaca78f6a7..54bb8a44a7a1243cc7a2dfcafca1c4d89ddb4126 100644 (file)
@@ -432,7 +432,7 @@ class ModuleSASL : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for IRC Authentication Layer (aka: SASL) via AUTHENTICATE.", VF_VENDOR);
+               return Version("Provides support for IRC Authentication Layer (aka: SASL) via AUTHENTICATE", VF_VENDOR);
        }
 };
 
index 4a06d8aeb205a9f6f41262190e103ca4898ec3fb..6e15aa8bf7dd138bc466ac9507b250350c4f0889 100644 (file)
@@ -54,7 +54,7 @@ class Channel_r : public ModeHandler
 
        ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string& parameter, bool adding) CXX11_OVERRIDE
        {
-               // only a u-lined server may add or remove the +r mode.
+               // Only a U-lined server may add or remove the +r mode.
                if (!IS_LOCAL(source))
                {
                        // Only change the mode if it's not redundant
@@ -312,7 +312,7 @@ class ModuleServicesAccount
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for ircu-style services accounts, including chmode +R, etc.",VF_OPTCOMMON|VF_VENDOR);
+               return Version("Provides support for ircu-style services accounts, including channel mode +R, etc", VF_OPTCOMMON|VF_VENDOR);
        }
 };
 
index a5d7a82e43bc9850d737fa94b0f37046d85a744e..95a601c7022ca479208a58da73f00d33997b5b55 100644 (file)
@@ -65,7 +65,7 @@ class ModuleServProtectMode : public Module, public Whois::EventListener, public
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides usermode +k to protect services from kicks, kills, and mode changes.", VF_VENDOR);
+               return Version("Provides user mode +k to protect services from kicks, kills, and mode changes", VF_VENDOR);
        }
 
        void OnWhois(Whois::Context& whois) CXX11_OVERRIDE
index b4e5386247e779118b6e5e52f5e0a5e5ba9ef947..6414b01e79cf2259f3951f070f50fc57269bcac0 100644 (file)
@@ -81,7 +81,7 @@ class CommandShun : public Command
                        }
                        else
                        {
-                               user->WriteNotice("*** Shun " + parameters[0] + " not found in list, try /stats H.");
+                               user->WriteNotice("*** Shun " + parameters[0] + " not found on the list.");
                                return CMD_FAILURE;
                        }
                }
@@ -115,7 +115,7 @@ class CommandShun : public Command
                                }
                                else
                                {
-                                       ServerInstance->SNO->WriteToSnoMask('x', "%s added timed SHUN for %s to expire in %s (on %s): %s",
+                                       ServerInstance->SNO->WriteToSnoMask('x', "%s added timed SHUN for %s, expires in %s (on %s): %s",
                                                user->nick.c_str(), target.c_str(), InspIRCd::DurationString(duration).c_str(),
                                                InspIRCd::TimeString(ServerInstance->Time() + duration).c_str(), expr.c_str());
                                }
@@ -244,7 +244,7 @@ class ModuleShun : public Module, public Stats::EventListener
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides the /SHUN command, which stops a user from executing all except configured commands.",VF_VENDOR|VF_COMMON);
+               return Version("Provides the SHUN command, which stops a user from executing all except configured commands", VF_VENDOR|VF_COMMON);
        }
 };
 
index 36d024ba52b0be7d22dbc93bdafb4f5cf6fd25d1..3b32097eabb7da9419977609f42011e3bac30409 100644 (file)
@@ -41,7 +41,7 @@ class SilenceEntry
 
                // Exclude users who match this flags ("x").
                SF_EXEMPT = 1,
-       
+
                // 2, 4, 8, 16 are reserved for future use.
 
                // Matches a NOTICE targeted at a channel ("n").
@@ -369,7 +369,7 @@ class ModuleSilence
 
        void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE
        {
-               tokens["ESILENCE"] = "CcdiNnPpsTtx";
+               tokens["ESILENCE"] = "CcdiNnPpTtx";
                tokens["SILENCE"] = ConvToStr(cmd.maxsilence);
        }
 
index a2c459f151f900715b2b540dc2ccfb872e3d1460..d6c33d2ff9835b4b99a885a5b42c5e63e0c08a81 100644 (file)
@@ -31,7 +31,7 @@ CmdResult CommandAddLine::Handle(User* usr, Params& params)
 
        if (!xlf)
        {
-               ServerInstance->SNO->WriteToSnoMask('x',"%s sent me an unknown ADDLINE type (%s).",setter.c_str(),params[0].c_str());
+               ServerInstance->SNO->WriteToSnoMask('x', "%s sent me an unknown ADDLINE type (%s).", setter.c_str(), params[0].c_str());
                return CMD_FAILURE;
        }
 
@@ -42,7 +42,7 @@ CmdResult CommandAddLine::Handle(User* usr, Params& params)
        }
        catch (ModuleException &e)
        {
-               ServerInstance->SNO->WriteToSnoMask('x',"Unable to ADDLINE type %s from %s: %s", params[0].c_str(), setter.c_str(), e.GetReason().c_str());
+               ServerInstance->SNO->WriteToSnoMask('x', "Unable to ADDLINE type %s from %s: %s", params[0].c_str(), setter.c_str(), e.GetReason().c_str());
                return CMD_FAILURE;
        }
        xl->SetCreateTime(ConvToNum<time_t>(params[3]));
@@ -50,7 +50,7 @@ CmdResult CommandAddLine::Handle(User* usr, Params& params)
        {
                if (xl->duration)
                {
-                       ServerInstance->SNO->WriteToSnoMask('X', "%s added %s%s on %s to expire in %s (on %s): %s",
+                       ServerInstance->SNO->WriteToSnoMask('X', "%s added timed %s%s for %s, expires in %s (on %s): %s",
                                setter.c_str(), params[0].c_str(), params[0].length() == 1 ? "-line" : "",
                                params[1].c_str(), InspIRCd::DurationString(xl->duration).c_str(),
                                InspIRCd::TimeString(xl->expiry).c_str(), params[5].c_str());
index d33ef3d4ed2550ef01e8c76e20bc05b0412c18e4..85838cc7fad65edf2242569820ea480e7401e79e 100644 (file)
@@ -30,7 +30,7 @@ CmdResult CommandIJoin::HandleRemote(RemoteUser* user, Params& params)
        {
                // Desync detected, recover
                // Ignore the join and send RESYNC, this will result in the remote server sending all channel data to us
-               ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "Received IJOIN for non-existant channel: " + params[0]);
+               ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "Received IJOIN for nonexistent channel: " + params[0]);
 
                CmdBuilder("RESYNC").push(params[0]).Unicast(user);
 
index 30a37baee3d1b605ddb939d5f63fba09a3ad86c2..ed15591e9027e4267be29c977eca01e5ceaecc26 100644 (file)
@@ -103,7 +103,7 @@ struct TreeSocket::BurstState
  */
 void TreeSocket::DoBurst(TreeServer* s)
 {
-       ServerInstance->SNO->WriteToSnoMask('l',"Bursting to \2%s\2 (Authentication: %s%s).",
+       ServerInstance->SNO->WriteToSnoMask('l',"Bursting to \002%s\002 (Authentication: %s%s).",
                s->GetName().c_str(),
                capab->auth_fingerprint ? "SSL certificate fingerprint and " : "",
                capab->auth_challenge ? "challenge-response" : "plaintext password");
@@ -125,7 +125,7 @@ void TreeSocket::DoBurst(TreeServer* s)
        this->SendXLines();
        FOREACH_MOD_CUSTOM(Utils->Creator->GetEventProvider(), ServerEventListener, OnSyncNetwork, (bs.server));
        this->WriteLine(CmdBuilder("ENDBURST"));
-       ServerInstance->SNO->WriteToSnoMask('l',"Finished bursting to \2"+ s->GetName()+"\2.");
+       ServerInstance->SNO->WriteToSnoMask('l',"Finished bursting to \002"+ s->GetName()+"\002.");
 
        this->burstsent = true;
 }
index 99c5ea8bc44bd08ea80f97acc9b60dce97526390..692588b5e360ed2d79eef5abce279c7d2fcf710c 100644 (file)
@@ -53,7 +53,7 @@ CmdResult CommandOpertype::HandleRemote(RemoteUser* u, CommandBase::Params& para
                        return CMD_SUCCESS;
        }
 
-       ServerInstance->SNO->WriteToSnoMask('O',"From %s: User %s (%s@%s) is now an IRC operator of type %s",u->server->GetName().c_str(), u->nick.c_str(),u->ident.c_str(), u->GetRealHost().c_str(), opertype.c_str());
+       ServerInstance->SNO->WriteToSnoMask('O', "From %s: User %s (%s@%s) is now a server operator of type %s", u->server->GetName().c_str(), u->nick.c_str(),u->ident.c_str(), u->GetRealHost().c_str(), opertype.c_str());
        return CMD_SUCCESS;
 }
 
index e724a644d20d929b3fa247bdcebc195dee1e542b..0af91a0ed35a020f0310bba22c5b5a384555f47f 100644 (file)
@@ -48,14 +48,14 @@ CmdResult CommandServer::HandleServer(TreeServer* ParentOfThis, Params& params)
        if (CheckDupe)
        {
                socket->SendError("Server "+servername+" already exists!");
-               ServerInstance->SNO->WriteToSnoMask('L', "Server \2"+CheckDupe->GetName()+"\2 being introduced from \2" + ParentOfThis->GetName() + "\2 denied, already exists. Closing link with " + ParentOfThis->GetName());
+               ServerInstance->SNO->WriteToSnoMask('L', "Server \002"+CheckDupe->GetName()+"\002 being introduced from \002" + ParentOfThis->GetName() + "\002 denied, already exists. Closing link with " + ParentOfThis->GetName());
                return CMD_FAILURE;
        }
        CheckDupe = Utils->FindServer(sid);
        if (CheckDupe)
        {
                socket->SendError("Server ID "+sid+" already exists! You may want to specify the server ID for the server manually with <server:id> so they do not conflict.");
-               ServerInstance->SNO->WriteToSnoMask('L', "Server \2"+servername+"\2 being introduced from \2" + ParentOfThis->GetName() + "\2 denied, server ID already exists on the network. Closing link with " + ParentOfThis->GetName());
+               ServerInstance->SNO->WriteToSnoMask('L', "Server \002"+servername+"\002 being introduced from \002" + ParentOfThis->GetName() + "\002 denied, server ID already exists on the network. Closing link with " + ParentOfThis->GetName());
                return CMD_FAILURE;
        }
 
@@ -119,14 +119,14 @@ Link* TreeSocket::AuthRemote(const CommandBase::Params& params)
 
                if (!ComparePass(*x, password))
                {
-                       ServerInstance->SNO->WriteToSnoMask('l',"Invalid password on link: %s", x->Name.c_str());
+                       ServerInstance->SNO->WriteToSnoMask('l', "Invalid password on link: %s", x->Name.c_str());
                        continue;
                }
 
                if (!CheckDuplicate(sname, sid))
                        return NULL;
 
-               ServerInstance->SNO->WriteToSnoMask('l',"Verified server connection " + linkID + " ("+description+")");
+               ServerInstance->SNO->WriteToSnoMask('l', "Verified server connection " + linkID + " ("+description+")");
 
                const SSLIOHook* const ssliohook = SSLIOHook::IsSSL(this);
                if (ssliohook)
@@ -139,8 +139,8 @@ Link* TreeSocket::AuthRemote(const CommandBase::Params& params)
                return x;
        }
 
-       this->SendError("Mismatched server name or password (check the other server's snomask output for details - e.g. umode +s +Ll)");
-       ServerInstance->SNO->WriteToSnoMask('l',"Server connection from \2"+sname+"\2 denied, invalid link credentials");
+       this->SendError("Mismatched server name or password (check the other server's snomask output for details - e.g. user mode +s +Ll)");
+       ServerInstance->SNO->WriteToSnoMask('l', "Server connection from \002"+sname+"\002 denied, invalid link credentials");
        return NULL;
 }
 
@@ -177,7 +177,7 @@ bool TreeSocket::CheckDuplicate(const std::string& sname, const std::string& sid
        {
                std::string pname = CheckDupe->GetParent() ? CheckDupe->GetParent()->GetName() : "<ourself>";
                SendError("Server "+sname+" already exists on server "+pname+"!");
-               ServerInstance->SNO->WriteToSnoMask('l',"Server connection from \2"+sname+"\2 denied, already exists on server "+pname);
+               ServerInstance->SNO->WriteToSnoMask('l', "Server connection from \002"+sname+"\002 denied, already exists on server "+pname);
                return false;
        }
 
@@ -188,7 +188,7 @@ bool TreeSocket::CheckDuplicate(const std::string& sname, const std::string& sid
        if (CheckDupe)
        {
                this->SendError("Server ID "+CheckDupe->GetID()+" already exists on server "+CheckDupe->GetName()+"! You may want to specify the server ID for the server manually with <server:id> so they do not conflict.");
-               ServerInstance->SNO->WriteToSnoMask('l',"Server connection from \2"+sname+"\2 denied, server ID '"+CheckDupe->GetID()+
+               ServerInstance->SNO->WriteToSnoMask('l', "Server connection from \002"+sname+"\002 denied, server ID '"+CheckDupe->GetID()+
                                "' already exists on server "+CheckDupe->GetName());
                return false;
        }
index 65e0a2c4d914cec87cfa9228b541d6a3349f419c..bbe66ff833906301e1b54efb8ef217236e4e9489 100644 (file)
@@ -152,7 +152,7 @@ void TreeServer::FinishBurst()
        ServerInstance->XLines->ApplyLines();
        uint64_t ts = ServerInstance->Time() * 1000 + (ServerInstance->Time_ns() / 1000000);
        unsigned long bursttime = ts - this->StartBurst;
-       ServerInstance->SNO->WriteToSnoMask(Parent == Utils->TreeRoot ? 'l' : 'L', "Received end of netburst from \2%s\2 (burst time: %lu %s)",
+       ServerInstance->SNO->WriteToSnoMask(Parent == Utils->TreeRoot ? 'l' : 'L', "Received end of netburst from \002%s\002 (burst time: %lu %s)",
                GetName().c_str(), (bursttime > 10000 ? bursttime / 1000 : bursttime), (bursttime > 10000 ? "secs" : "msecs"));
 
        StartBurst = 0;
index 037edd1943599c8165fb409ec41990ff09e2b3d1..ffe0373d23ff098437eb87d051e61edf39d0b1ac 100644 (file)
@@ -153,7 +153,7 @@ class TreeServer : public Server
         */
        unsigned long rtt;
 
-       /** When we recieved BURST from this server, used to calculate total burst time at ENDBURST.
+       /** When we received BURST from this server, used to calculate total burst time at ENDBURST.
         */
        uint64_t StartBurst;
 
index 1913fa4de673a2608f1a9c4e6caaded88f7d0fde..190c5dc15891ac22c2d708532fff6c437ec398be 100644 (file)
@@ -52,7 +52,7 @@ TreeSocket::TreeSocket(Link* link, Autoconnect* myac, const irc::sockets::sockad
                if (!irc::sockets::aptosa(link->Bind, 0, bind))
                {
                        state = I_ERROR;
-                       SetError("Bind address '" + link->Bind + "' is not an valid IPv4 or IPv6 address");
+                       SetError("Bind address '" + link->Bind + "' is not a valid IPv4 or IPv6 address");
                        TreeSocket::OnError(I_ERR_BIND);
                        return;
                }
@@ -143,7 +143,7 @@ void TreeSocket::OnConnected()
                        static_cast<IOHookProvider*>(prov)->OnConnect(this);
                }
 
-               ServerInstance->SNO->WriteGlobalSno('l', "Connection to \2%s\2[%s] started.", linkID.c_str(),
+               ServerInstance->SNO->WriteGlobalSno('l', "Connection to \002%s\002[%s] started.", linkID.c_str(),
                        (capab->link->HiddenFromStats ? "<hidden>" : capab->link->IPAddr.c_str()));
                this->SendCapabilities(1);
        }
index 364586dffb48dcb4a2014dfa5fb944925c8d6be5..05d85aa67fa287b605daff0b6d9e34e1e011925e 100644 (file)
@@ -161,13 +161,13 @@ void TreeSocket::ProcessLine(std::string &line)
                                        time_t delta = them - ServerInstance->Time();
                                        if ((delta < -600) || (delta > 600))
                                        {
-                                               ServerInstance->SNO->WriteGlobalSno('l',"\2ERROR\2: Your clocks are out by %ld seconds (this is more than five minutes). Link aborted, \2PLEASE SYNC YOUR CLOCKS!\2",labs((long)delta));
+                                               ServerInstance->SNO->WriteGlobalSno('l', "\002ERROR\002: Your clocks are off by %ld seconds (this is more than five minutes). Link aborted, \002PLEASE SYNC YOUR CLOCKS!\002", labs((long)delta));
                                                SendError("Your clocks are out by "+ConvToStr(labs((long)delta))+" seconds (this is more than five minutes). Link aborted, PLEASE SYNC YOUR CLOCKS!");
                                                return;
                                        }
                                        else if ((delta < -30) || (delta > 30))
                                        {
-                                               ServerInstance->SNO->WriteGlobalSno('l',"\2WARNING\2: Your clocks are out by %ld seconds. Please consider synching your clocks.", labs((long)delta));
+                                               ServerInstance->SNO->WriteGlobalSno('l', "\002WARNING\002: Your clocks are off by %ld seconds. Please consider syncing your clocks.", labs((long)delta));
                                        }
                                }
 
@@ -417,13 +417,13 @@ void TreeSocket::Close()
        if (MyRoot)
                MyRoot->SQuit(getError());
 
-       ServerInstance->SNO->WriteGlobalSno('l', "Connection to '\2%s\2' failed.",linkID.c_str());
+       ServerInstance->SNO->WriteGlobalSno('l', "Connection to '\002%s\002' failed.", linkID.c_str());
 
        time_t server_uptime = ServerInstance->Time() - this->age;
        if (server_uptime)
        {
                std::string timestr = ModuleSpanningTree::TimeToStr(server_uptime);
-               ServerInstance->SNO->WriteGlobalSno('l', "Connection to '\2%s\2' was established for %s", linkID.c_str(), timestr.c_str());
+               ServerInstance->SNO->WriteGlobalSno('l', "Connection to '\002%s\002' was established for %s", linkID.c_str(), timestr.c_str());
        }
 }
 
index d2466f719dd7bee9dbf03008d80b75d420fa4d87..54ff7e0888ddacb3c3fec7170d86eb7c0b8fd13c 100644 (file)
@@ -86,7 +86,7 @@ class AuthQuery : public SQL::Query
                                }
 
                                if (verbose)
-                                       ServerInstance->SNO->WriteGlobalSno('a', "Forbidden connection from %s (Password from the SQL query did not match the user provided password)", user->GetFullRealHost().c_str());
+                                       ServerInstance->SNO->WriteGlobalSno('a', "Forbidden connection from %s (password from the SQL query did not match the user provided password)", user->GetFullRealHost().c_str());
                                pendingExt.set(user, AUTH_STATE_FAIL);
                                return;
                        }
@@ -171,7 +171,7 @@ class ModuleSQLAuth : public Module
 
                if (!SQL)
                {
-                       ServerInstance->SNO->WriteGlobalSno('a', "Forbiding connection from %s (SQL database not present)", user->GetFullRealHost().c_str());
+                       ServerInstance->SNO->WriteGlobalSno('a', "Forbidden connection from %s (SQL database not present)", user->GetFullRealHost().c_str());
                        ServerInstance->Users->QuitUser(user, killreason);
                        return MOD_RES_PASSTHRU;
                }
@@ -212,7 +212,7 @@ class ModuleSQLAuth : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Allow/Deny connections based upon an arbitrary SQL table", VF_VENDOR);
+               return Version("Allow/deny connections based upon an arbitrary SQL table", VF_VENDOR);
        }
 };
 
index 8ba8e31037e2e9cb823f523ec5ab6431d699fe2e..e4aaab474e41720146a29af12607a7f4e2130d0c 100644 (file)
@@ -110,7 +110,7 @@ class OperQuery : public SQL::Query
        void OnError(SQL::Error& error) CXX11_OVERRIDE
        {
                ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "query failed (%s)", error.ToString());
-               ServerInstance->SNO->WriteGlobalSno('a', "m_sqloper: failed to update blocks from database");
+               ServerInstance->SNO->WriteGlobalSno('a', "m_sqloper: Failed to update blocks from database");
                if (!uid.empty())
                {
                        // Fallback. We don't want to block a netadmin from /OPER
index 5c436b116e7d695af1812c3f4d90dd772a2b703d..1ff93b7adaabd99c6fbbadf9593e8aa5c139b249 100644 (file)
@@ -159,7 +159,7 @@ class ModuleSSLModes
                {
                        if (!api)
                        {
-                               user->WriteNumeric(ERR_SECUREONLYCHAN, cname, "Cannot join channel; unable to determine if you are a SSL user (+z)");
+                               user->WriteNumeric(ERR_SECUREONLYCHAN, cname, "Cannot join channel; unable to determine if you are an SSL user (+z)");
                                return MOD_RES_DENY;
                        }
 
@@ -199,7 +199,7 @@ class ModuleSSLModes
                {
                        if (!api || !api->GetCertificate(target))
                        {
-                               user->WriteNumeric(ERR_CANTSENDTOUSER, target->nick, "You must remove usermode 'z' before you are able to send private messages to a non-ssl user.");
+                               user->WriteNumeric(ERR_CANTSENDTOUSER, target->nick, "You must remove user mode 'z' before you are able to send private messages to a non-SSL user.");
                                return MOD_RES_DENY;
                        }
                }
@@ -235,7 +235,7 @@ class ModuleSSLModes
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides user and channel mode +z to allow for SSL-only channels, queries and notices.", VF_VENDOR);
+               return Version("Provides user and channel mode +z to allow for SSL-only channels, queries and notices", VF_VENDOR);
        }
 };
 
index 3699fc3aa8622bd2b9083f77a4616fb9b006224c..4634cfaff6e3a53c403c125d1de7010a04c5e421 100644 (file)
@@ -90,7 +90,7 @@ class ModuleStripColor : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides channel +S mode (strip ansi color)", VF_VENDOR);
+               return Version("Provides channel mode +S (strip ansi color)", VF_VENDOR);
        }
 
 };
index c1249a3bd7458585215e1bf17dda46ab09d2430e..df487199a48143c9bb4f38f028d28788e1de6475 100644 (file)
@@ -121,7 +121,7 @@ class CommandSvshold : public Command
                        }
                        else
                        {
-                               user->WriteNotice("*** SVSHOLD " + parameters[0] + " not found in list, try /stats S.");
+                               user->WriteNotice("*** SVSHOLD " + parameters[0] + " not found on the list.");
                        }
                }
                else
@@ -223,7 +223,7 @@ class ModuleSVSHold : public Module, public Stats::EventListener
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Implements SVSHOLD. Like Q-lines, but can only be added/removed by Services.", VF_COMMON | VF_VENDOR);
+               return Version("Implements SVSHOLD, like Q-lines, but can only be added/removed by Services", VF_COMMON | VF_VENDOR);
        }
 };
 
index 692472e117fa1180f8e302f40455bea0e054f5d5..f8c0842b72c16edd7f2955d87aa5ada832de4594 100644 (file)
@@ -79,7 +79,7 @@ class ModuleTLine : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides /tline command used to test who a mask matches", VF_VENDOR);
+               return Version("Provides the TLINE command, used to test how many users a mask matches against", VF_VENDOR);
        }
 };
 
index f750c1a6e7b238ffeab1e881ce9451e255bf786a..7f9975a55fe2fd22873c3f246bc80acd2771cd32 100644 (file)
@@ -39,7 +39,7 @@ class ModuleUHNames
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides the UHNAMES facility.",VF_VENDOR);
+               return Version("Provides the UHNAMES facility", VF_VENDOR);
        }
 
        void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE
index a64dc7071185162bd52df98002d2d196defdf0e2..925024aea51baed27027aa74304692daf173aacd 100644 (file)
@@ -217,7 +217,7 @@ class ModuleXLineDB : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Keeps a dynamic log of all XLines created, and stores them in a separate conf file (xline.db).", VF_VENDOR);
+               return Version("Provides the ability to store X-lines in a database file", VF_VENDOR);
        }
 };
 
index 56f9f5591342e17c261579f9e3798f6985e6a9da..aaaa06f19293bf989469a88836ff029e43e61156 100644 (file)
@@ -368,7 +368,7 @@ void User::Oper(OperInfo* info)
        if (info->oper_block)
                opername = info->oper_block->getString("name");
 
-       ServerInstance->SNO->WriteToSnoMask('o',"%s (%s@%s) is now an IRC operator of type %s (using oper '%s')",
+       ServerInstance->SNO->WriteToSnoMask('o', "%s (%s@%s) is now a server operator of type %s (using oper '%s')",
                nick.c_str(), ident.c_str(), GetRealHost().c_str(), oper->name.c_str(), opername.c_str());
        this->WriteNumeric(RPL_YOUAREOPER, InspIRCd::Format("You are now %s %s", strchr("aeiouAEIOU", oper->name[0]) ? "an" : "a", oper->name.c_str()));