+ ServerInstance->SNO->WriteToSnoMask('A', "MODULE '%s' GLOBAL UNLOAD BY '%s' (not unloaded here)",parameters[0],user->nick);
+
+ return CMD_SUCCESS;
+ }
+};
+
+/** Handle /GRELOADMODULE
+ */
+class CommandGreloadmodule : public Command
+{
+ public:
+ CommandGreloadmodule (InspIRCd* Instance) : Command(Instance, "GRELOADMODULE", "o", 1)
+ {
+ this->source = "m_globalload.so";
+ syntax = "<modulename> [servermask]";
+ }
+
+ CmdResult Handle(const char* const* parameters, int pcnt, User *user)
+ {
+ std::string servername = pcnt > 1 ? parameters[1] : "*";
+
+ if (ServerInstance->MatchText(ServerInstance->Config->ServerName, servername))