summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-12-02 14:35:42 -0700
committerJared Adams <jaxad0127@gmail.com>2009-12-02 14:35:42 -0700
commit91761b7926c2503664c4db24c5aa44f817384227 (patch)
treea6c1c5d31593048326f1026fa52997b3003df471 /src/net/ea/partyhandler.cpp
parentd12c93d4d6fc38eb86b5cb8515f4b8f8a7e96b54 (diff)
downloadmana-91761b7926c2503664c4db24c5aa44f817384227.tar.gz
mana-91761b7926c2503664c4db24c5aa44f817384227.tar.bz2
mana-91761b7926c2503664c4db24c5aa44f817384227.tar.xz
mana-91761b7926c2503664c4db24c5aa44f817384227.zip
Centralize netcode handler instances in Net
Instead of each netcode making the global variables and Net referencing them, Net now makes them and the netcodes reference them. Also remove an innappropriate ChatHandler reference from eA's AdminHandler.
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r--src/net/ea/partyhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index 21d63ae5..de17855f 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -38,7 +38,7 @@
#include "utils/stringutils.h"
PartyTab *partyTab = 0;
-Net::PartyHandler *partyHandler = 0;
+extern Net::PartyHandler *partyHandler;
namespace EAthena {