]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sajoin.cpp
Some more text fixes and improvements (#1618).
[user/henk/code/inspircd.git] / src / modules / m_sajoin.cpp
index f506a2e1c0cc713d1b6272fb9cb85a9ead77b7d9..39ebb28cc2799f13956496e4ec9bac58f63069cb 100644 (file)
@@ -45,7 +45,7 @@ class CommandSajoin : public Command
                User* dest = ServerInstance->FindNick(nickname);
                if ((dest) && (dest->registered == REG_ALL))
                {
-                       if (user != dest && !user->HasPrivPermission("users/sajoin-others", false))
+                       if (user != dest && !user->HasPrivPermission("users/sajoin-others"))
                        {
                                user->WriteNotice("*** You are not allowed to /SAJOIN other users (the privilege users/sajoin-others is needed to /SAJOIN others).");
                                return CMD_FAILURE;
@@ -96,7 +96,7 @@ class CommandSajoin : public Command
                }
                else
                {
-                       user->WriteNotice("*** No such nickname "+nickname);
+                       user->WriteNotice("*** No such nickname: '" + nickname + "'");
                        return CMD_FAILURE;
                }
        }
@@ -118,7 +118,7 @@ class ModuleSajoin : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides command SAJOIN to allow opers to force-join users to channels", VF_OPTCOMMON | VF_VENDOR);
+               return Version("Provides the SAJOIN command, allows opers to force-join users to channels", VF_OPTCOMMON | VF_VENDOR);
        }
 };