summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-07 21:50:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-07 21:50:16 +0000
commit65a13140ed9fc986680532fb91d1d398206920d6 (patch)
tree306d194b01faa7603f1c216da3b43cd9d2acb6ef /src/modules
parentb271a67bb629c5432719235d4f4aadfa5cddca78 (diff)
Fixed broken OnCleanup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2263 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_swhois.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index 15fe19264..79169783e 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -111,7 +111,7 @@ class ModuleSWhois : public Module
{
if (target_type == TYPE_USER)
{
- userrec* u = (userrec*)item;
+ userrec* user = (userrec*)item;
char* field = user->GetExt("swhois");
if (field)
{