summaryrefslogtreecommitdiff
path: root/src/modules/m_knock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_knock.cpp')
-rw-r--r--src/modules/m_knock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index 3ae86de34..30d08efb5 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -68,7 +68,7 @@ class CommandKnock : public Command
RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters)
{
- return ROUTE_BROADCAST;
+ return ROUTE_OPT_BCAST;
}
};
@@ -100,7 +100,7 @@ class ModuleKnock : public Module
virtual Version GetVersion()
{
- return Version("Provides support for /KNOCK and mode +K", VF_COMMON | VF_VENDOR);
+ return Version("Provides support for /KNOCK and mode +K", VF_OPTCOMMON | VF_VENDOR);
}
};