diff options
| author | 2006-08-10 23:36:53 +0000 | |
|---|---|---|
| committer | 2006-08-10 23:36:53 +0000 | |
| commit | 55e2180b4a5fb65faac05ce4956ab1e5515fa9e5 (patch) | |
| tree | fd844ab96f0c8133f7d8c7449d5cad352304d7b8 /src/users.cpp | |
| parent | Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done. (diff) | |
| download | inspircd++-55e2180b4a5fb65faac05ce4956ab1e5515fa9e5.tar.gz inspircd++-55e2180b4a5fb65faac05ce4956ab1e5515fa9e5.tar.bz2 inspircd++-55e2180b4a5fb65faac05ce4956ab1e5515fa9e5.zip | |
Committing this as a rollback point - does not compile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4860 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/users.cpp b/src/users.cpp index 1a8e52fee..b1378260d 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -32,7 +32,6 @@ #include "cull_list.h" extern time_t TIME; -extern Server* MyServer; irc::whowas::whowas_users whowas; static unsigned long already_sent[MAX_DESCRIPTORS] = {0}; @@ -129,7 +128,7 @@ void userrec::StartDNSLookup() { log(DEBUG,"Passing instance: %08x",this->ServerInstance); res_reverse = new UserResolver(this->ServerInstance, this, this->GetIPString(), false); - MyServer->AddResolver(res_reverse); + this->ServerInstance->AddResolver(res_reverse); } catch (ModuleException& e) { @@ -153,7 +152,7 @@ void UserResolver::OnLookupComplete(const std::string &result) try { bound_user->res_forward = new UserResolver(this->ServerInstance, this->bound_user, result, true); - MyServer->AddResolver(bound_user->res_forward); + this->ServerInstance->AddResolver(bound_user->res_forward); } catch (ModuleException& e) { |
