]> jfr.im git - irc/evilnet/znc.git/commitdiff
modules/sasl.cpp: update help for "set"
authorMikaela Suomalainen <redacted>
Thu, 19 Feb 2015 06:12:58 +0000 (08:12 +0200)
committerMikaela Suomalainen <redacted>
Thu, 19 Feb 2015 08:08:45 +0000 (10:08 +0200)
This is the same as #793, but for correct branch.

Closes #793

modules/sasl.cpp

index e6b60a8892c50a20da3d41b873031f42d97db401..e8a0700590d8249d9e5cdd5f08302b18c1d020d5 100644 (file)
@@ -70,7 +70,7 @@ public:
                AddCommand("Help",        static_cast<CModCommand::ModCmdFunc>(&CSASLMod::PrintHelp),
                        "search", "Generate this output");
                AddCommand("Set",         static_cast<CModCommand::ModCmdFunc>(&CSASLMod::Set),
-                       "username password", "Set username and password for the PLAIN mechanism");
+                       "<username> [<password>]", "Set username and password for the mechanisms that need them. Password is optional");
                AddCommand("Mechanism",   static_cast<CModCommand::ModCmdFunc>(&CSASLMod::SetMechanismCommand),
                        "[mechanism[ ...]]", "Set the mechanisms to be attempted (in order)");
                AddCommand("RequireAuth", static_cast<CModCommand::ModCmdFunc>(&CSASLMod::RequireAuthCommand),