@attilamolnar That throws an error.
````
An error occured when executing: g++ -o modules/m_redirect.so -pipe -fPIC -DPIC -pedantic -Woverloaded-virtual -Wshadow -Wformat=2 -Wmissing-format-attribute -Wall -O2 -Iinclude -DMODNAME=m_redirect.so -fPIC -shared -rdynamic /home/shawn/InspIRCd-src/src/modules/m_redirect.cpp
/home/shawn/InspIRCd-src/src/modules/m_redirect.cpp: In member function âvirtual ModResult ModuleRedirect::OnUserPreJoin(User*, Channel*, const string&, std::string&, const string&)â:
/home/shawn/InspIRCd-src/src/modules/m_redirect.cpp:138:30: error: no matching function for call to âUser::IsModeSet(AntiRedirect&)â
/home/shawn/InspIRCd-src/src/modules/m_redirect.cpp:138:30: note: candidate is:
In file included from include/inspircd.h:96:0,
                 from /home/shawn/InspIRCd-src/src/modules/m_redirect.cpp:25:
include/users.h:435:7: note: bool User::IsModeSet(unsigned char)
include/users.h:435:7: note:   no known conversion for argument 1 from âAntiRedirectâ to âunsigned charâ
make[1]: *** [modules/m_redirect.so] Error 1
make: *** [target] Error 2

`````