diff --git a/src/include/zrtools.inc b/src/include/zrtools.inc index c2a6e03..f4060f6 100644 --- a/src/include/zrtools.inc +++ b/src/include/zrtools.inc @@ -1,3 +1,30 @@ +/* + * ============================================================================ + * + * Zombie:Reloaded + * + * File: zrtools.inc + * Type: Include + * Description: API for ZR Tools. + * + * Copyright (C) 2009 Greyscale + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * ============================================================================ + */ + #if defined _zrtools_included #endinput #endif diff --git a/src/zr/config.inc b/src/zr/config.inc index 82d2cb8..560ad82 100644 --- a/src/zr/config.inc +++ b/src/zr/config.inc @@ -820,7 +820,7 @@ public Action:ConfigReloadCommand(client, argc) ConfigGetConfigPath(config, path, sizeof(path)); // Format log message - Format(logmessage, sizeof(logmessage), "Admin \"%L\" reloaded config file \"%s\". (zr_config_reload)", client); + Format(logmessage, sizeof(logmessage), "Admin \"%L\" reloaded config file \"%s\". (zr_config_reload)", client, path); // If file isn't loaded then tell client, then stop. if (!loaded) @@ -873,6 +873,8 @@ public Action:ConfigReloadAllCommand(client, argc) // Log action to game events. LogEvent(false, LogType_Normal, LOG_GAME_EVENTS, LogModule_Config, "Reload All Config", "Admin \"%L\" reloaded all config files.", client); + + return Plugin_Handled; } /**