Some cleaning

This commit is contained in:
Yehonal
2016-08-11 20:36:42 +02:00
parent 80453e215e
commit c618632a70
4 changed files with 4 additions and 5 deletions

View File

@@ -4,4 +4,3 @@ AC_PATH_CONF="$AC_PATH_ROOT/conf"
AC_PATH_MODULES="$AC_PATH_ROOT/modules"
AC_PATH_CUSTOM=$(readlink -f "$AC_PATH_ROOT/../azth_custom")

View File

@@ -8,12 +8,12 @@ if [ -f "$AC_PATH_COMPILER/config.sh" ]; then
source "$AC_PATH_COMPILER/config.sh" # should overwrite previous
fi
function azth_on_after_build() {
function ac_on_after_build() {
# move the run engine
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"

View File

@@ -78,7 +78,7 @@ void WorldSession::HandleMessagechatOpcode(WorldPacket & recvData)
case CHAT_MSG_PARTY_LEADER:
break;
default:
/*[AZTH] we should enable it using a conf
/*[AC] we should enable it using a conf
if (sender->GetTotalPlayedTime() < 2*HOUR)
{
SendNotification("Speaking is allowed after playing for at least 2 hours. You may use party and guild chat.");

View File

@@ -1543,7 +1543,7 @@ public:
return true;
}
/* [AZTH] Sunwell hack
/* [AC] Sunwell hack
if (handler->GetSession()->GetSecurity() < SEC_ADMINISTRATOR)
{
handler->PSendSysMessage("You may only remove items. Adding items is available for higher GMLevel.");