From 903ba4e2ebf608737e1890cfa43c3e92a9ec2cf4 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 8 Aug 2006 13:22:30 +0000 Subject: add_channel -> chanrec::JoinUser() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4787 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sajoin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_sajoin.cpp') diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp index a94e03958..0c7387213 100644 --- a/src/modules/m_sajoin.cpp +++ b/src/modules/m_sajoin.cpp @@ -54,7 +54,7 @@ class cmd_sajoin : public command_t } Srv->SendOpers(std::string(user->nick)+" used SAJOIN to make "+std::string(dest->nick)+" join "+parameters[1]); - Srv->JoinUserToChannel(dest,std::string(parameters[1]),std::string(dest->nick)); + chanrec::JoinUser(dest, parameters[1], true); } } }; -- cgit v1.2.3