]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
Fix part of bug #419 (source nick showing in KILL message to user with hidekills on)
[user/henk/code/inspircd.git] / src / users.cpp
index 4856ebc388f6f2cd5d87b8b828a77d0abcae6ca5..b357fd149814c1a071ec542458da413fd73ef152 100644 (file)
@@ -878,9 +878,10 @@ void userrec::AddClient(InspIRCd* Instance, int socket, int port, bool iscached,
        {
                New = new userrec(Instance);
        }
-       catch (CoreException &e)
+       catch (...)
        {
                Instance->Log(DEFAULT,"*** WTF *** Duplicated UUID! -- Crack smoking monkies have been unleashed.");
+               Instance->WriteOpers("*** WARNING *** Duplicate UUID allocated!");
                return;
        }
 
@@ -1384,7 +1385,7 @@ void userrec::Write(std::string text)
 
        try
        {
-               /* ServerInstance->Log(DEBUG,"C[%d] <- %s", this->GetFd(), text.c_str());
+               /* ServerInstance->Log(DEBUG,"C[%d] O %s", this->GetFd(), text.c_str());
                 * WARNING: The above debug line is VERY loud, do NOT
                 * enable it till we have a good way of filtering it
                 * out of the logs (e.g. 1.2 would be good).