]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_globalload.cpp
Hide the server name/desc better when <options:hideserver> is set.
[user/henk/code/inspircd.git] / src / modules / m_globalload.cpp
index c0ce025bdc97c1cbee89b70070335f6a170688a0..71a455a34f7da7c7b62f6510210bb7b41ebc3e6d 100644 (file)
@@ -1,12 +1,14 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2011 Jackmcbarn <jackmcbarn@jackmcbarn.no-ip.org>
- *   Copyright (C) 2009 Daniel De Graaf <danieldg@inspircd.org>
- *   Copyright (C) 2006-2008 Craig Edwards <craigedwards@brainbox.cc>
+ *   Copyright (C) 2013, 2017-2018, 2020 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2012, 2019 Robby <robby@chatbelgie.be>
+ *   Copyright (C) 2012, 2014-2016 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org>
+ *   Copyright (C) 2007-2008, 2010 Craig Edwards <brain@inspircd.org>
  *   Copyright (C) 2007-2008 Dennis Friis <peavey@inspircd.org>
- *   Copyright (C) 2006-2007 Robin Burchell <robin+git@viroteck.net>
- *   Copyright (C) 2006 John Brooks <john.brooks@dereferenced.net>
+ *   Copyright (C) 2007, 2009 Robin Burchell <robin+git@viroteck.net>
+ *   Copyright (C) 2007 John Brooks <special@inspircd.org>
  *
  * This file is part of InspIRCd.  InspIRCd is free software: you can
  * redistribute it and/or modify it under the terms of the GNU General Public
@@ -32,7 +34,7 @@ class CommandGloadmodule : public Command
        CommandGloadmodule(Module* Creator) : Command(Creator,"GLOADMODULE", 1)
        {
                flags_needed = 'o';
-               syntax = "<modulename> [servermask]";
+               syntax = "<modulename> [<servermask>]";
        }
 
        CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
@@ -71,7 +73,7 @@ class CommandGunloadmodule : public Command
        CommandGunloadmodule(Module* Creator) : Command(Creator,"GUNLOADMODULE", 1)
        {
                flags_needed = 'o';
-               syntax = "<modulename> [servermask]";
+               syntax = "<modulename> [<servermask>]";
        }
 
        CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
@@ -122,7 +124,8 @@ class CommandGreloadmodule : public Command
  public:
        CommandGreloadmodule(Module* Creator) : Command(Creator, "GRELOADMODULE", 1)
        {
-               flags_needed = 'o'; syntax = "<modulename> [servermask]";
+               flags_needed = 'o';
+               syntax = "<modulename> [<servermask>]";
        }
 
        CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
@@ -169,7 +172,7 @@ class ModuleGlobalLoad : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Allows global loading of a module.", VF_COMMON | VF_VENDOR);
+               return Version("Adds the /GLOADMODULE, /GRELOADMODULE, and /GUNLOADMODULE commands which allows server operators to load, reload, and unload modules on remote servers.", VF_COMMON | VF_VENDOR);
        }
 };