diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 13:22:30 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 13:22:30 +0000 |
commit | 903ba4e2ebf608737e1890cfa43c3e92a9ec2cf4 (patch) | |
tree | e8fd0a74b50da79e46b93dfa7d0d6fc80498cbbb /src/modules/m_operjoin.cpp | |
parent | 6f1b8f50dd8a9f73c9e02e64253e7e45642a88d0 (diff) |
add_channel -> chanrec::JoinUser()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4787 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_operjoin.cpp')
-rw-r--r-- | src/modules/m_operjoin.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp index a0a81f7ed..bf3088053 100644 --- a/src/modules/m_operjoin.cpp +++ b/src/modules/m_operjoin.cpp @@ -72,9 +72,7 @@ class ModuleOperjoin : public Module std::vector<std::string> operChans; tokenize(operChan,operChans); for(std::vector<std::string>::iterator it = operChans.begin(); it != operChans.end(); it++) - { - Srv->JoinUserToChannel(user,(*it),""); - } + chanrec::JoinUser(user, it->c_str(), false); } } |