X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcommand_parse.cpp;h=61f59ac0b1de3bfa6ced6328902e94e106a83a6e;hb=48a400f2e068527b338ceecf8ed1dde2da971ca9;hp=9ffd20865236e1b7874f211fef472367958a2d86;hpb=a3e0768758ca68429a29d9c78ce672f2d938c6e7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 9ffd20865..61f59ac0b 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -295,7 +295,7 @@ void CommandParser::ProcessCommand(LocalUser *user, std::string &cmd) } ServerInstance->SNO->WriteToSnoMask('a', "%s denied for %s (%s@%s)", - command.c_str(), user->nick.c_str(), user->ident.c_str(), user->host.c_str()); + command.c_str(), user->nick.c_str(), user->ident.c_str(), user->GetRealHost().c_str()); return; } @@ -359,7 +359,7 @@ CommandBase::~CommandBase() { } -void CommandBase::EncodeParameter(std::string& parameter, int index) +void CommandBase::EncodeParameter(std::string& parameter, unsigned int index) { }