mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Fix missing arg to client message in #task
This commit is contained in:
parent
b57bcced40
commit
84a75f2a77
@ -9966,7 +9966,7 @@ void command_task(Client *c, const Seperator *sep) {
|
|||||||
if(!strcasecmp(sep->arg[2], "task") && (sep->arg[3][0] != '\0')) {
|
if(!strcasecmp(sep->arg[2], "task") && (sep->arg[3][0] != '\0')) {
|
||||||
int TaskID = atoi(sep->arg[3]);
|
int TaskID = atoi(sep->arg[3]);
|
||||||
if((TaskID > 0) && (TaskID < MAXTASKS)) {
|
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);
|
worldserver.SendReloadTasks(RELOADTASKS, TaskID);
|
||||||
c->Message(Chat::Yellow, "Back again");
|
c->Message(Chat::Yellow, "Back again");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user