mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-23 16:21:30 +00:00
Remove command_nologs
This commit is contained in:
parent
7c8e5645f0
commit
82407ba86d
@ -348,7 +348,6 @@ int command_init(void) {
|
|||||||
|
|
||||||
command_add("opcode","- opcode management",250,command_opcode) ||
|
command_add("opcode","- opcode management",250,command_opcode) ||
|
||||||
command_add("logs","[status|normal|error|debug|quest|all] - Subscribe to a log type",250,command_logs) ||
|
command_add("logs","[status|normal|error|debug|quest|all] - Subscribe to a log type",250,command_logs) ||
|
||||||
command_add("nologs","[status|normal|error|debug|quest|all] - Unsubscribe to a log type",250,command_nologs) ||
|
|
||||||
command_add("ban","[name] [reason]- Ban by character name",150,command_ban) ||
|
command_add("ban","[name] [reason]- Ban by character name",150,command_ban) ||
|
||||||
command_add("suspend","[name] [days] [reason] - Suspend by character name and for specificed number of days",150,command_suspend) ||
|
command_add("suspend","[name] [days] [reason] - Suspend by character name and for specificed number of days",150,command_suspend) ||
|
||||||
command_add("ipban","[IP address] - Ban IP by character name",200,command_ipban) ||
|
command_add("ipban","[IP address] - Ban IP by character name",200,command_ipban) ||
|
||||||
@ -6779,37 +6778,6 @@ void command_logs(Client *c, const Seperator *sep)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void command_nologs(Client *c, const Seperator *sep)
|
|
||||||
{
|
|
||||||
#ifdef CLIENT_LOGS
|
|
||||||
Client *t = c;
|
|
||||||
if(c->GetTarget() && c->GetTarget()->IsClient()) {
|
|
||||||
t = c;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!strcasecmp(sep->arg[1], "status" ) )
|
|
||||||
client_logs.unsubscribe(EQEmuLog::Status, t);
|
|
||||||
else if(!strcasecmp(sep->arg[1], "normal" ) )
|
|
||||||
client_logs.unsubscribe(EQEmuLog::Normal, t);
|
|
||||||
else if(!strcasecmp(sep->arg[1], "error" ) )
|
|
||||||
client_logs.unsubscribe(EQEmuLog::Error, t);
|
|
||||||
else if(!strcasecmp(sep->arg[1], "debug" ) )
|
|
||||||
client_logs.unsubscribe(EQEmuLog::Debug, t);
|
|
||||||
else if(!strcasecmp(sep->arg[1], "quest" ) )
|
|
||||||
client_logs.unsubscribe(EQEmuLog::Quest, t);
|
|
||||||
else if(!strcasecmp(sep->arg[1], "all" ) )
|
|
||||||
client_logs.unsubscribeAll(t);
|
|
||||||
else {
|
|
||||||
c->Message(0, "Usage: #logs [status|normal|error|debug|quest|all]");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
c->Message(0, "You have been unsubscribed from %s logs.", sep->arg[1]);
|
|
||||||
#else
|
|
||||||
c->Message(0, "Client logs are disabled in this server's build.");
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
void command_qglobal(Client *c, const Seperator *sep) {
|
void command_qglobal(Client *c, const Seperator *sep) {
|
||||||
//In-game switch for qglobal column
|
//In-game switch for qglobal column
|
||||||
if(sep->arg[1][0] == 0) {
|
if(sep->arg[1][0] == 0) {
|
||||||
|
|||||||
@ -259,7 +259,6 @@ void command_undyeme(Client *c, const Seperator *sep);
|
|||||||
void command_hp(Client *c, const Seperator *sep);
|
void command_hp(Client *c, const Seperator *sep);
|
||||||
void command_ginfo(Client *c, const Seperator *sep);
|
void command_ginfo(Client *c, const Seperator *sep);
|
||||||
void command_logs(Client *c, const Seperator *sep);
|
void command_logs(Client *c, const Seperator *sep);
|
||||||
void command_nologs(Client *c, const Seperator *sep);
|
|
||||||
void command_logsql(Client *c, const Seperator *sep);
|
void command_logsql(Client *c, const Seperator *sep);
|
||||||
void command_qglobal(Client *c, const Seperator *sep);
|
void command_qglobal(Client *c, const Seperator *sep);
|
||||||
void command_path(Client *c, const Seperator *sep);
|
void command_path(Client *c, const Seperator *sep);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user