]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/coremods/core_message.cpp
Some more text fixes and improvements (#1618).
[user/henk/code/inspircd.git] / src / coremods / core_message.cpp
index 8a7499f1d191214e41381f0880ae1a87029dcc91..a17157bade316116ef49376477f022f9f4b16f9f 100644 (file)
@@ -164,7 +164,7 @@ class CommandMessage : public Command
                        if (no_chan_priv && chan->IsModeSet(moderatedmode))
                        {
                                // The moderated mode is set and the source has no status rank.
-                               source->WriteNumeric(ERR_CANNOTSENDTOCHAN, chan->name, "Cannot send to channel (+m)");
+                               source->WriteNumeric(ERR_CANNOTSENDTOCHAN, chan->name, "Cannot send to channel (+m is set)");
                                return CMD_FAILURE;
                        }
 
@@ -303,7 +303,7 @@ class CommandMessage : public Command
                , moderatedmode(parent, "moderated")
                , noextmsgmode(parent, "noextmsg")
        {
-               syntax = "<target>{,<target>} <message>";
+               syntax = "<target>[,<target>]+ :<message>";
        }
 
        /** Handle command.
@@ -357,7 +357,7 @@ class CommandSQuery : public SplitCommand
        CommandSQuery(Module* Creator)
                : SplitCommand(Creator, "SQUERY", 2, 2)
        {
-               syntax = "<service> <message>";
+               syntax = "<service> :<message>";
        }
 
        CmdResult HandleLocal(LocalUser* user, const Params& parameters) CXX11_OVERRIDE
@@ -398,7 +398,7 @@ class CommandSQuery : public SplitCommand
                if (!FirePreEvents(user, msgtarget, msgdetails))
                        return CMD_FAILURE;
 
-               // The SQUERY command targets a service on a u-lined server. This can never
+               // The SQUERY command targets a service on a U-lined server. This can never
                // be on the server local to the source so we don't need to do any routing
                // logic and can forward it as a PRIVMSG.