diff options
| author | 2021-05-11 03:53:43 +0100 | |
|---|---|---|
| committer | 2021-05-11 04:07:45 +0100 | |
| commit | 3ca912ad71cdc4004401e0977be73c674bb91fbc (patch) | |
| tree | cf57b43229becfc3d9c8532a2d4f18f095f024ec /src/modules/m_ojoin.cpp | |
| parent | Optimise building the link data string. (diff) | |
| parent | Send ERR_BADCHANMASK when trying to OJOIN/SAJOIN an invalid channel. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_ojoin.cpp')
| -rw-r--r-- | src/modules/m_ojoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp index 2ee355fc3..1f8a51f41 100644 --- a/src/modules/m_ojoin.cpp +++ b/src/modules/m_ojoin.cpp @@ -49,7 +49,7 @@ class CommandOjoin : public SplitCommand // Make sure the channel name is allowable. if (!ServerInstance->Channels.IsChannel(parameters[0])) { - user->WriteNotice("*** Invalid characters in channel name or name too long"); + user->WriteNumeric(ERR_BADCHANMASK, parameters[0], "Invalid channel name"); return CmdResult::FAILURE; } |
