Skip to content

Commit

Permalink
[Commands] Remove #serversidename Command. (#1720)
Browse files Browse the repository at this point in the history
- Remove unused command.
  • Loading branch information
Kinglykrab committed Nov 12, 2021
1 parent a6c85ba commit dc1c7bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions zone/command.cpp
Expand Up @@ -985,14 +985,6 @@ void command_setfaction(Client *c, const Seperator *sep)
content_db.QueryDatabase(query);
}

void command_serversidename(Client *c, const Seperator *sep)
{
if(c->GetTarget())
c->Message(Chat::White, c->GetTarget()->GetName());
else
c->Message(Chat::White, "Error: no target");
}

void command_wc(Client *c, const Seperator *sep)
{
if (sep->argnum < 2) {
Expand Down
1 change: 0 additions & 1 deletion zone/command.h
Expand Up @@ -274,7 +274,6 @@ void command_sendzonespawns(Client *c, const Seperator *sep);
void command_sensetrap(Client *c, const Seperator *sep);
void command_serverinfo(Client *c, const Seperator *sep);
void command_serverrules(Client *c, const Seperator *sep);
void command_serversidename(Client *c, const Seperator *sep);
void command_set_adventure_points(Client *c, const Seperator *sep);
void command_setaapts(Client *c, const Seperator *sep);
void command_setaaxp(Client *c, const Seperator *sep);
Expand Down

0 comments on commit dc1c7bb

Please sign in to comment.