diff options
| author | 2017-12-22 12:12:36 +0000 | |
|---|---|---|
| committer | 2017-12-22 12:12:36 +0000 | |
| commit | c8f515121fbdf3e4de693712ef2311cece45477d (patch) | |
| tree | d92941491ef510a9ec8ff317a9002429ae96a33e /src/modules/m_namedmodes.cpp | |
| parent | Rename <security:hidewhois> to <security:hideserver>. (diff) | |
| parent | Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics (diff) | |
Merge pull request #1446 from B00mX0r/master+wrongnumeric
Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics
Closes #1122.
Diffstat (limited to 'src/modules/m_namedmodes.cpp')
| -rw-r--r-- | src/modules/m_namedmodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_namedmodes.cpp b/src/modules/m_namedmodes.cpp index cd63f4298..5c280b355 100644 --- a/src/modules/m_namedmodes.cpp +++ b/src/modules/m_namedmodes.cpp @@ -57,7 +57,7 @@ class CommandProp : public SplitCommand Channel* const chan = ServerInstance->FindChan(parameters[0]); if (!chan) { - src->WriteNumeric(Numerics::NoSuchNick(parameters[0])); + src->WriteNumeric(Numerics::NoSuchChannel(parameters[0])); return CMD_FAILURE; } |
