]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spy.cpp
More cleanup of quit servers
[user/henk/code/inspircd.git] / src / modules / m_spy.cpp
index 485c104b87b646bb9fe0c51a2c561bfdf20dd280..4465235a5927445116cbbe65d329a94d6a49e266 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
 class ModuleSpy : public Module
 {
  public:
-       ModuleSpy(InspIRCd* Me) : Module(Me)
-       {
+       ModuleSpy()     {
                ServerInstance->Modules->Attach(I_OnUserList, this);
        }
 
-       virtual ModResult OnUserList(User* user, Channel* Ptr, CUList* &nameslist)
+       virtual ModResult OnUserList(User* user, Channel* Ptr)
        {
                /* User has priv and is NOT on the channel */
                if (user->HasPrivPermission("channels/auspex") && !Ptr->HasUser(user))
@@ -45,7 +44,7 @@ class ModuleSpy : public Module
 
        virtual Version GetVersion()
        {
-               return Version("$Id$", VF_VENDOR, API_VERSION);
+               return Version("Provides the ability to see the complete names list of channels an oper is not a member of", VF_VENDOR);
        }
 };