Browse Source

Added trigger "addmod" and "delmod" to AddIRCCommand and DelIRCCommand.

pull/3/head
JustinAJ 10 years ago
parent
commit
bdac94467e
  1. 3
      RenX.ModSystem/RenX_ModSystem.cpp

3
RenX.ModSystem/RenX_ModSystem.cpp

@ -621,6 +621,7 @@ IRC_COMMAND_INIT(ATMIRCCommand)
void AddIRCCommand::create() void AddIRCCommand::create()
{ {
this->addTrigger(STRING_LITERAL_AS_REFERENCE("addmod"));
this->addTrigger(STRING_LITERAL_AS_REFERENCE("add")); this->addTrigger(STRING_LITERAL_AS_REFERENCE("add"));
this->addTrigger(STRING_LITERAL_AS_REFERENCE("set")); this->addTrigger(STRING_LITERAL_AS_REFERENCE("set"));
this->setAccessLevel(5); this->setAccessLevel(5);
@ -696,6 +697,8 @@ IRC_COMMAND_INIT(AddIRCCommand)
void DelIRCCommand::create() void DelIRCCommand::create()
{ {
this->addTrigger(STRING_LITERAL_AS_REFERENCE("delmod"));
this->addTrigger(STRING_LITERAL_AS_REFERENCE("remmod"));
this->addTrigger(STRING_LITERAL_AS_REFERENCE("del")); this->addTrigger(STRING_LITERAL_AS_REFERENCE("del"));
this->addTrigger(STRING_LITERAL_AS_REFERENCE("rem")); this->addTrigger(STRING_LITERAL_AS_REFERENCE("rem"));
this->setAccessLevel(5); this->setAccessLevel(5);

Loading…
Cancel
Save