diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 00:46:41 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 00:46:41 +0000 |
commit | fd6ee21f2f55875984884a8413d61012e066029f (patch) | |
tree | ff9feeffe5ddac50d30db1e44656cc9d2dc2e216 /src/modules/m_ident.cpp | |
parent | 66098d307c036997e51eaea21724615e27fdc3e9 (diff) |
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
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r-- | src/modules/m_ident.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |