diff options
author | Sadie Powell <sadie@witchery.services> | 2020-01-29 14:14:25 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-01-29 14:15:23 +0000 |
commit | 4edae179025a9a803c31c40883ea9c5816bf89e4 (patch) | |
tree | 1cf02c44f5838e8b3ae4c941cd0ad33f1e623344 | |
parent | 6597fe5d4fd2c1cc474fa35a0db21fec480ff47f (diff) |
The KNOCK command is broadcast so we should only send local notices.
See also: #1749.
-rw-r--r-- | src/modules/m_knock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp index e9e40c710..afe12bf0d 100644 --- a/src/modules/m_knock.cpp +++ b/src/modules/m_knock.cpp @@ -84,7 +84,7 @@ class CommandKnock : public Command } if (sendnotice) - c->WriteRemoteNotice(InspIRCd::Format("User %s is KNOCKing on %s (%s)", user->nick.c_str(), c->name.c_str(), parameters[1].c_str())); + c->WriteNotice(InspIRCd::Format("User %s is KNOCKing on %s (%s)", user->nick.c_str(), c->name.c_str(), parameters[1].c_str())); if (sendnumeric) { |