Some cleaning
This commit is contained in:
@@ -4,4 +4,3 @@ AC_PATH_CONF="$AC_PATH_ROOT/conf"
|
|||||||
|
|
||||||
AC_PATH_MODULES="$AC_PATH_ROOT/modules"
|
AC_PATH_MODULES="$AC_PATH_ROOT/modules"
|
||||||
|
|
||||||
AC_PATH_CUSTOM=$(readlink -f "$AC_PATH_ROOT/../azth_custom")
|
|
||||||
|
|||||||
@@ -8,12 +8,12 @@ if [ -f "$AC_PATH_COMPILER/config.sh" ]; then
|
|||||||
source "$AC_PATH_COMPILER/config.sh" # should overwrite previous
|
source "$AC_PATH_COMPILER/config.sh" # should overwrite previous
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function azth_on_after_build() {
|
function ac_on_after_build() {
|
||||||
# move the run engine
|
# move the run engine
|
||||||
cp -rvf "$AC_PATH_BIN/runners/"* "$INSTALL_PATH/bin/"
|
cp -rvf "$AC_PATH_BIN/runners/"* "$INSTALL_PATH/bin/"
|
||||||
}
|
}
|
||||||
|
|
||||||
registerHooks "ON_AFTER_BUILD" azth_on_after_build
|
registerHooks "ON_AFTER_BUILD" ac_on_after_build
|
||||||
|
|
||||||
source "$AC_PATH_COMPILER/includes/defines.sh"
|
source "$AC_PATH_COMPILER/includes/defines.sh"
|
||||||
|
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ void WorldSession::HandleMessagechatOpcode(WorldPacket & recvData)
|
|||||||
case CHAT_MSG_PARTY_LEADER:
|
case CHAT_MSG_PARTY_LEADER:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/*[AZTH] we should enable it using a conf
|
/*[AC] we should enable it using a conf
|
||||||
if (sender->GetTotalPlayedTime() < 2*HOUR)
|
if (sender->GetTotalPlayedTime() < 2*HOUR)
|
||||||
{
|
{
|
||||||
SendNotification("Speaking is allowed after playing for at least 2 hours. You may use party and guild chat.");
|
SendNotification("Speaking is allowed after playing for at least 2 hours. You may use party and guild chat.");
|
||||||
|
|||||||
@@ -1543,7 +1543,7 @@ public:
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* [AZTH] Sunwell hack
|
/* [AC] Sunwell hack
|
||||||
if (handler->GetSession()->GetSecurity() < SEC_ADMINISTRATOR)
|
if (handler->GetSession()->GetSecurity() < SEC_ADMINISTRATOR)
|
||||||
{
|
{
|
||||||
handler->PSendSysMessage("You may only remove items. Adding items is available for higher GMLevel.");
|
handler->PSendSysMessage("You may only remove items. Adding items is available for higher GMLevel.");
|
||||||
|
|||||||
Reference in New Issue
Block a user