]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_kill.cpp
Change the SQLutils and SQL providers to also use interfaces for proper unload order...
[user/henk/code/inspircd.git] / src / cmd_kill.cpp
index e2a8d8824b4dc0cbdb28e260afc9a55dfdeb21ca..001f48e2c2e314aedecc9b17f197eab7ceca0018 100644 (file)
@@ -2,12 +2,9 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *                <Craig@chatspike.net>
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
  *
- * Written by Craig Edwards, Craig McLure, and others.
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
  *
@@ -59,12 +56,12 @@ CmdResult cmd_kill::Handle (const char** parameters, int pcnt, userrec *user)
                        u->WriteCommonExcept("QUIT :%s", killreason);
                        FOREACH_MOD(I_OnRemoteKill, OnRemoteKill(user, u, killreason));
                        
-                       user_hash::iterator iter = ServerInstance->clientlist.find(u->nick);
+                       user_hash::iterator iter = ServerInstance->clientlist->find(u->nick);
 
-                       if (iter != ServerInstance->clientlist.end())
+                       if (iter != ServerInstance->clientlist->end())
                        {
                                ServerInstance->Log(DEBUG,"deleting user hash value %d", iter->second);
-                               ServerInstance->clientlist.erase(iter);
+                               ServerInstance->clientlist->erase(iter);
                        }
 
                        if (u->registered == REG_ALL)