X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_redirect.cpp;h=3d10663aa4557d6dd23e5ac351ef733127a52563;hb=85182d727c0d549b9cf6659ad36dec70fcf02278;hp=b71a2f3db608570e591876f46fa4af83ebb27901;hpb=026c579e4cac7d4545b3c8c3a0d690c8509dc713;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp index b71a2f3db..3d10663aa 100644 --- a/src/modules/m_redirect.cpp +++ b/src/modules/m_redirect.cpp @@ -30,7 +30,10 @@ class Redirect : public ParamMode { public: Redirect(Module* Creator) - : ParamMode(Creator, "redirect", 'L') { } + : ParamMode(Creator, "redirect", 'L') + { + syntax = ""; + } ModeAction OnSet(User* source, Channel* channel, std::string& parameter) CXX11_OVERRIDE { @@ -111,7 +114,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; }