From aa02a808ffdbb2a819809e85f369ec3ce1e26af6 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 27 Oct 2008 19:29:44 +0000 Subject: Compile fixes and warning fixes. --- src/account-server/dalstorage.hpp | 1 + src/account-server/serverhandler.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/account-server') diff --git a/src/account-server/dalstorage.hpp b/src/account-server/dalstorage.hpp index ae1657c0..817f2ef4 100644 --- a/src/account-server/dalstorage.hpp +++ b/src/account-server/dalstorage.hpp @@ -34,6 +34,7 @@ class Character; class ChatChannel; class Guild; class Letter; +class Post; /** * A storage class that relies on DAL. diff --git a/src/account-server/serverhandler.cpp b/src/account-server/serverhandler.cpp index 1745c928..2e472b81 100644 --- a/src/account-server/serverhandler.cpp +++ b/src/account-server/serverhandler.cpp @@ -312,7 +312,7 @@ void ServerHandler::processMessage(NetComputer *comp, MessageIn &msg) int level = msg.readShort(); // get the character so we can get the account id - Character *c = getCharacter(id); + Character *c = storage->getCharacter(id, NULL); if (c) { storage->setAccountLevel(c->getAccountID(), level); -- cgit v1.2.3-70-g09d2