mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-06 21:53:51 +00:00
Merge pull request #1115 from EQEmu/bugfix/command_task
Fix missing arg to client message in #task
This commit is contained in:
commit
ebea77e8ea
@ -9966,7 +9966,7 @@ void command_task(Client *c, const Seperator *sep) {
|
||||
if(!strcasecmp(sep->arg[2], "task") && (sep->arg[3][0] != '\0')) {
|
||||
int TaskID = atoi(sep->arg[3]);
|
||||
if((TaskID > 0) && (TaskID < MAXTASKS)) {
|
||||
c->Message(Chat::Yellow, "Sending reload task %i to world");
|
||||
c->Message(Chat::Yellow, "Sending reload task %i to world", TaskID);
|
||||
worldserver.SendReloadTasks(RELOADTASKS, TaskID);
|
||||
c->Message(Chat::Yellow, "Back again");
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user