X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_sajoin.cpp;h=39ebb28cc2799f13956496e4ec9bac58f63069cb;hb=daf3be301d0181d14d1310b3ab5f79c8a85dfb46;hp=f506a2e1c0cc713d1b6272fb9cb85a9ead77b7d9;hpb=21e7efdadfa685ac1ddcb0a0a515502bc873302b;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp index f506a2e1c..39ebb28cc 100644 --- a/src/modules/m_sajoin.cpp +++ b/src/modules/m_sajoin.cpp @@ -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); } };