]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
Make log targets in config space-seperated (ie: 'USERINPUT USEROUTPUT') like the...
[user/henk/code/inspircd.git] / src / users.cpp
index e81a3e2537cabf3727e0e0692b505cbd2d67f96d..e3aeb299b8a8d2ea90e2a15a6248f5a794f369dd 100644 (file)
@@ -1065,7 +1065,7 @@ void User::Write(std::string text)
 
        try
        {
-               ServerInstance->Logs->Log("USERIO", DEBUG,"C[%d] O %s", this->GetFd(), text.c_str());
+               ServerInstance->Logs->Log("USEROUTPUT", DEBUG,"C[%d] O %s", this->GetFd(), text.c_str());
                text.append("\r\n");
        }
        catch (...)
@@ -1450,7 +1450,7 @@ bool User::ChangeIdent(const char* newident)
        return true;
 }
 
-void User::SendAll(const char* command, char* text, ...)
+void User::SendAll(const char* command, const char* text, ...)
 {
        char textbuffer[MAXBUF];
        char formatbuffer[MAXBUF];