]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_uninvite.cpp
Send HALFOP= line in CAPAB CAPABILITIES for 1201 compat (anope relies on this)
[user/henk/code/inspircd.git] / src / modules / m_uninvite.cpp
index fff51817e80ea99101c299650fae2b67ae536de3..cbddedd2b904579a60cea30ce249fbd888f53626 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -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);
        }
 };