]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/server.cpp
OK, it's more useful if this compiles...
[user/henk/code/inspircd.git] / src / server.cpp
index c3efc7e6b2b8c95873aa807420505bb511766657..1c73067b7307bf4d098a4fd3fa13a61575a3405e 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *         the file COPYING for details.
@@ -48,16 +48,15 @@ void InspIRCd::Exit(int status)
 
 void RehashHandler::Call(const std::string &reason)
 {
-       Server->SNO->WriteToSnoMask('A', "Rehashing config file %s %s",ServerConfig::CleanFilename(Server->ConfigFileName), reason.c_str());
+       Server->SNO->WriteToSnoMask('a', "Rehashing config file %s %s",ServerConfig::CleanFilename(Server->ConfigFileName), reason.c_str());
        Server->RehashUsersAndChans();
        FOREACH_MOD_I(Server, I_OnGarbageCollect, OnGarbageCollect());
        if (!Server->ConfigThread)
        {
                Server->Config->RehashUserUID = "";
-               Server->Config->RehashParameter = "";
 
                Server->ConfigThread = new ConfigReaderThread(Server, false, "");
-               Server->Threads->Create(Server->ConfigThread);
+               Server->Threads->Start(Server->ConfigThread);
        }
 }
 
@@ -146,7 +145,7 @@ void InspIRCd::IncrementUID(int pos)
                        for (int i = 3; i < UUID_LENGTH; i++)
                        {
                                current_uid[i] = 'A';
-                               pos  = UUID_LENGTH - 1; 
+                               pos  = UUID_LENGTH - 1;
                        }
                }
                else