- virtual void OnPostOper(userrec* user, const std::string &opertype)
- {
- if(operChan != "")
- {
- std::vector<std::string> operChans;
- tokenize(operChan,operChans);
- for(std::vector<std::string>::iterator it = operChans.begin(); it != operChans.end(); it++)
- chanrec::JoinUser(ServerInstance, user, it->c_str(), false);
- }
-
- }
-
-};
-
-class ModuleOperjoinFactory : public ModuleFactory
-{
- public:
- ModuleOperjoinFactory()