]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hidemode.cpp
Sync helpop chmodes s and p with docs
[user/henk/code/inspircd.git] / src / modules / m_hidemode.cpp
index 73a7890806cf9a4d93d19495c7fdb5845bf57219..3f041344f1ceb53a3366b6f93423bbc6e0e9647d 100644 (file)
@@ -1,7 +1,10 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2016 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2019 Matt Schatz <genius3000@g3k.solutions>
+ *   Copyright (C) 2018 linuxdaemon <linuxdaemon.irc@gmail.com>
+ *   Copyright (C) 2018 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2018 Attila Molnar <attilamolnar@hush.com>
  *
  * 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
@@ -88,7 +91,7 @@ class ModeHook : public ClientProtocol::EventHook
                        const Modes::Change& curr = *i;
                        if (settings.GetRequiredRank(*curr.mh) <= rank)
                        {
-                                // No restriction on who can see this mode or there is one but the member's rank is sufficient
+                               // No restriction on who can see this mode or there is one but the member's rank is sufficient
                                if (modechangelist)
                                        modechangelist->push(curr);
 
@@ -198,7 +201,7 @@ class ModuleHideMode : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Provides support for hiding mode changes", VF_VENDOR);
+               return Version("Allows mode changes to be hidden from users without a prefix mode ranked equal to or higher than a defined level.", VF_VENDOR);
        }
 };