X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_redirect.cpp;h=0a4f43fd401381ccd867d241f963066fea9308b0;hb=192ae99685903cfb71bbf70edc450c4a6314621e;hp=46b8fbe195717d5b349408e44623898c6f1ae2e6;hpb=b57c7f4e466f72fdd2ac3deca42caa1ea7748338;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp index 46b8fbe19..0a4f43fd4 100644 --- a/src/modules/m_redirect.cpp +++ b/src/modules/m_redirect.cpp @@ -105,7 +105,7 @@ class ModuleRedirect : public Module { re = new Redirect(ServerInstance); - if (!ServerInstance->AddMode(re, 'L')) + if (!ServerInstance->AddMode(re)) throw ModuleException("Could not add new modes!"); }