diff options
Diffstat (limited to 'src/cmd_join.cpp')
-rw-r--r-- | src/cmd_join.cpp | 4 |
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; } } |