aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ident.cpp
diff options
context:
space:
mode:
authorGravatar danieldg2009-10-21 23:45:08 +0000
committerGravatar danieldg2009-10-21 23:45:08 +0000
commit5d03657b63b0b77edc25cd566d9aab134d930bf7 (patch)
tree64f33e61eaae31bf99db7e32ff8df7764d3fd713 /src/modules/m_ident.cpp
parentMove SetClass to LocalUser (diff)
downloadinspircd++-5d03657b63b0b77edc25cd566d9aab134d930bf7.tar.gz
inspircd++-5d03657b63b0b77edc25cd566d9aab134d930bf7.tar.bz2
inspircd++-5d03657b63b0b77edc25cd566d9aab134d930bf7.zip
Move some local-only fields to LocalUser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11942 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r--src/modules/m_ident.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index 95a0529c9..8df849902 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -74,13 +74,13 @@
class IdentRequestSocket : public EventHandler
{
private:
- User *user; /* User we are attached to */
+ LocalUser *user; /* User we are attached to */
bool done; /* True if lookup is finished */
std::string result; /* Holds the ident string if done */
public:
time_t age;
- IdentRequestSocket(User* u) : user(u), result(u->ident)
+ IdentRequestSocket(LocalUser* u) : user(u), result(u->ident)
{
age = ServerInstance->Time();
socklen_t size = 0;
@@ -319,7 +319,7 @@ class ModuleIdent : public Module
try
{
- IdentRequestSocket *isock = new IdentRequestSocket(user);
+ IdentRequestSocket *isock = new IdentRequestSocket(IS_LOCAL(user));
ext.set(user, isock);
}
catch (ModuleException &e)