diff --git a/core/include/logger/u_logger.h b/core/include/logger/u_logger.h index b102943..9d756cb 100644 --- a/core/include/logger/u_logger.h +++ b/core/include/logger/u_logger.h @@ -61,7 +61,7 @@ public slots: /** * @brief Adds an OOC log entry to the area buffer and writes it to the respective log format. */ - void logOOC(const QString& f_charName, const QString& f_oocName, const QString& f_ipid, + void logOOC(const QString& f_char_Name, const QString& f_ooc_name, const QString& f_ipid, const QString& f_area_name, const QString& f_message); /** @@ -89,7 +89,7 @@ public slots: /** * @brief Adds a modcall event to the area buffer, also triggers modcall writing. */ - void logModcall(const QString& f_charName, const QString &f_ipid, const QString& f_oocName, const QString& f_area_name); + void logModcall(const QString& f_char_name, const QString &f_ipid, const QString& f_ooc_name, const QString& f_area_name); /** * @brief Logs any connection attempt to the server, wether sucessful or not. diff --git a/core/src/logger/u_logger.cpp b/core/src/logger/u_logger.cpp index 2e2d6e5..d4960d0 100644 --- a/core/src/logger/u_logger.cpp +++ b/core/src/logger/u_logger.cpp @@ -114,11 +114,11 @@ void ULogger::logBan(const QString &f_moderator, const QString &f_target_ipid, c updateAreaBuffer("SERVER",l_logEntry); } -void ULogger::logModcall(const QString &f_char_name, const QString &f_ipid, const QString &f_oocName, const QString &f_area_name) +void ULogger::logModcall(const QString &f_char_name, const QString &f_ipid, const QString &f_ooc_name, const QString &f_area_name) { QString l_time = QDateTime::currentDateTime().toString("ddd MMMM d yyyy | hh:mm:ss"); QString l_logEvent = QStringLiteral("[%1][%2][MODCALL][%5][%3(%4)]\n") - .arg(l_time, f_area_name, f_char_name, f_oocName, f_ipid); + .arg(l_time, f_area_name, f_char_name, f_ooc_name, f_ipid); updateAreaBuffer(f_area_name, l_logEvent); if (ConfigManager::loggingType() == DataTypes::LogType::MODCALL) {