summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-22 20:37:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-22 20:37:42 +0000
commitabeaa35bc2d9b4a3278ab02a4355cb422a129fa9 (patch)
tree4d7a146c6932ca2fabb08888d3f27a8d6aab650a /src/modules
parentfcc5ed3e8ac612ccbbe293c15dee8fcce5fa9ae5 (diff)
Fix typos :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3291 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_safelist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp
index c474b9997..73e7d34f0 100644
--- a/src/modules/m_safelist.cpp
+++ b/src/modules/m_safelist.cpp
@@ -200,7 +200,7 @@ class ModuleSafeList : public Module
if(target_type == TYPE_USER)
{
userrec* u = (userrec*)item;
- ListData* ld = u->GetExt("safelist_cache");
+ ListData* ld = (ListData*)u->GetExt("safelist_cache");
if (ld)
{
u->Shrink("safelist_cache");
@@ -215,11 +215,11 @@ class ModuleSafeList : public Module
break;
}
}
- time_t* last_list_time = (time_t*)user->GetExt("safelist_last");
+ time_t* last_list_time = (time_t*)u->GetExt("safelist_last");
if (last_list_time)
{
delete last_list_time;
- user->Shrink("safelist_last");
+ u->Shrink("safelist_last");
}
}
}