diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 12:52:24 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 12:52:24 +0000 |
commit | 6f1b8f50dd8a9f73c9e02e64253e7e45642a88d0 (patch) | |
tree | 4cb07b9523faaaa9cfd9c43f4f904203231328f3 /src/modules.cpp | |
parent | 7a3907f0518238402a4ea592fe5fb18849a833c5 (diff) |
Change to chanrec::PartUser. As with KickUser and ServerKickUser, returns the number of users left, if it returns 0, delete the chanrec
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4786 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index f09c85d08..a171e427f 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -405,11 +405,6 @@ chanrec* Server::JoinUserToChannel(userrec* user, const std::string &cname, cons return add_channel(user,cname.c_str(),key.c_str(),false); } -chanrec* Server::PartUserFromChannel(userrec* user, const std::string &cname, const std::string &reason) -{ - return del_channel(user,cname.c_str(),reason.c_str(),false); -} - chanuserlist Server::GetUsers(chanrec* chan) { chanuserlist userl; |