summaryrefslogtreecommitdiff
path: root/src/modules/m_uninvite.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-19 15:16:24 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-19 15:16:24 +0000
commitb5965b08c23e3e89404b481386f2e56ce7cb7ce2 (patch)
tree842721a7e76de1cb7807a55d287498783e2dbc88 /src/modules/m_uninvite.cpp
parent80abf1ed3ef868b1cad85785b2386f5cbd818ba4 (diff)
Extbans can be VF_OPTCOMMON as they do not desync on module add/remove
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12303 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_uninvite.cpp')
-rw-r--r--src/modules/m_uninvite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp
index 7b88e6124..cbddedd2b 100644
--- a/src/modules/m_uninvite.cpp
+++ b/src/modules/m_uninvite.cpp
@@ -78,7 +78,7 @@ class CommandUninvite : public Command
RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters)
{
User* u = ServerInstance->FindNick(parameters[0]);
- return u ? ROUTE_UNICAST(u->server) : ROUTE_LOCALONLY;
+ return u ? ROUTE_OPT_UCAST(u->server) : ROUTE_LOCALONLY;
}
};
@@ -99,7 +99,7 @@ class ModuleUninvite : public Module
virtual Version GetVersion()
{
- return Version("Provides the UNINVITE command which lets users un-invite other users from channels", VF_VENDOR | VF_COMMON);
+ return Version("Provides the UNINVITE command which lets users un-invite other users from channels", VF_VENDOR | VF_OPTCOMMON);
}
};