summaryrefslogtreecommitdiff
path: root/src/cmd_join.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 13:22:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-08 13:22:30 +0000
commit903ba4e2ebf608737e1890cfa43c3e92a9ec2cf4 (patch)
treee8fd0a74b50da79e46b93dfa7d0d6fc80498cbbb /src/cmd_join.cpp
parent6f1b8f50dd8a9f73c9e02e64253e7e45642a88d0 (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/cmd_join.cpp')
-rw-r--r--src/cmd_join.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_join.cpp b/src/cmd_join.cpp
index 728038c2e..4af887585 100644
--- a/src/cmd_join.cpp
+++ b/src/cmd_join.cpp
@@ -31,7 +31,7 @@ void cmd_join::Handle (const char** parameters, int pcnt, userrec *user)
if (IsValidChannelName(parameters[0]))
{
- add_channel(user, parameters[0], parameters[1], false);
+ chanrec::JoinUser(user, parameters[0], false, parameters[1]);
return;
}
}
@@ -42,7 +42,7 @@ void cmd_join::Handle (const char** parameters, int pcnt, userrec *user)
if (IsValidChannelName(parameters[0]))
{
- add_channel(user, parameters[0], "", false);
+ chanrec::JoinUser(user, parameters[0], false);
return;
}
}