From fd6ee21f2f55875984884a8413d61012e066029f Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 00:46:41 +0000 Subject: None of the modules use an extern InspIRCd* any more git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ident.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_ident.cpp') diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index df6078c1d..88229c6c1 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -23,7 +23,7 @@ using namespace std; #include "modules.h" #include "inspircd.h" -extern InspIRCd* ServerInstance; + extern userrec* fd_ref_table[MAX_DESCRIPTORS]; @@ -87,7 +87,7 @@ class RFC1413 : public InspSocket { if (u && (fd_ref_table[ufd] == u)) { - if (ServerInstance->IsIdent(section)) + if (this->Instance->IsIdent(section)) { strlcpy(u->ident,section,IDENTMAX); log(DEBUG,"IDENT SET: "+std::string(u->ident)); -- cgit v1.3.1-10-gc9f91