aboutsummaryrefslogtreecommitdiff
path: root/src/server/bnetserver/Main.cpp
diff options
context:
space:
mode:
authortkrokli <tkrokli@users.noreply.github.com>2016-09-24 18:02:22 +0200
committerDuarte Duarte <dnpd.dd@gmail.com>2016-09-24 17:02:22 +0100
commit3cd28ee6c0a144ebf1c90270e14ad3836544bb3b (patch)
tree531a4686d8a1bc2539de761596d8fab889478049 /src/server/bnetserver/Main.cpp
parent30d006f98b1ac49c953b22e6da00331faffa48fc (diff)
Core/Bnet: correct a typo in enum (#17991)
The enum LOGIN_DEL_BNET_EXPERIED_ACCOUNT_BANNED should be LOGIN_DEL_BNET_EXPIRED_ACCOUNT_BANNED to avoid confusion and not need any interpretation.
Diffstat (limited to 'src/server/bnetserver/Main.cpp')
-rw-r--r--src/server/bnetserver/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/bnetserver/Main.cpp b/src/server/bnetserver/Main.cpp
index e05fa7c7166..56eff7c0c07 100644
--- a/src/server/bnetserver/Main.cpp
+++ b/src/server/bnetserver/Main.cpp
@@ -282,7 +282,7 @@ void BanExpiryHandler(boost::system::error_code const& error)
{
LoginDatabase.Execute(LoginDatabase.GetPreparedStatement(LOGIN_DEL_EXPIRED_IP_BANS));
LoginDatabase.Execute(LoginDatabase.GetPreparedStatement(LOGIN_UPD_EXPIRED_ACCOUNT_BANS));
- LoginDatabase.Execute(LoginDatabase.GetPreparedStatement(LOGIN_DEL_BNET_EXPERIED_ACCOUNT_BANNED));
+ LoginDatabase.Execute(LoginDatabase.GetPreparedStatement(LOGIN_DEL_BNET_EXPIRED_ACCOUNT_BANNED));
_banExpiryCheckTimer->expires_from_now(boost::posix_time::seconds(_banExpiryCheckInterval));
_banExpiryCheckTimer->async_wait(BanExpiryHandler);