From 91761b7926c2503664c4db24c5aa44f817384227 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 2 Dec 2009 14:35:42 -0700 Subject: 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. --- src/net/ea/loginhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/ea/loginhandler.cpp') diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index a57eee8a..e91925de 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -35,7 +35,7 @@ #include "utils/gettext.h" #include "utils/stringutils.h" -Net::LoginHandler *loginHandler; +extern Net::LoginHandler *loginHandler; namespace EAthena { -- cgit v1.2.3-70-g09d2