diff options
| author | 2017-11-12 17:33:21 +0000 | |
|---|---|---|
| committer | 2017-11-12 17:33:21 +0000 | |
| commit | d23c030c9a8fd58807438245a004e4aa5b7288ba (patch) | |
| tree | d1207d9f811ba486470ac3869052b0bc2180f758 /src/modules/m_cap.cpp | |
| parent | Allow spaces in the network name now it doesn't cause problems. (diff) | |
| parent | Release v2.0.25 (diff) | |
| download | inspircd++-d23c030c9a8fd58807438245a004e4aa5b7288ba.tar.gz inspircd++-d23c030c9a8fd58807438245a004e4aa5b7288ba.tar.bz2 inspircd++-d23c030c9a8fd58807438245a004e4aa5b7288ba.zip | |
Merge tag 'v2.0.25' into master.
Diffstat (limited to 'src/modules/m_cap.cpp')
| -rw-r--r-- | src/modules/m_cap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cap.cpp b/src/modules/m_cap.cpp index 868294fe4..86de15d95 100644 --- a/src/modules/m_cap.cpp +++ b/src/modules/m_cap.cpp @@ -399,7 +399,7 @@ class CommandCap : public SplitCommand } else { - user->WriteNumeric(ERR_INVALIDCAPSUBCOMMAND, subcommand, "Invalid CAP subcommand"); + user->WriteNumeric(ERR_INVALIDCAPSUBCOMMAND, subcommand.empty() ? "*" : subcommand, "Invalid CAP subcommand"); return CMD_FAILURE; } |
