X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fusers.cpp;h=e3aeb299b8a8d2ea90e2a15a6248f5a794f369dd;hb=4507fa2302b7dd0a8f6f0a43d9b46f6c21bf3345;hp=e81a3e2537cabf3727e0e0692b505cbd2d67f96d;hpb=46048c59dcb357a910fd9beb11b25d026e83d247;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/users.cpp b/src/users.cpp index e81a3e253..e3aeb299b 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -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];