summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-12 18:03:52 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-12 18:03:52 +0000
commit0036e3a70cabea02e9ec2103ed1dfdf5c799289f (patch)
tree649d2ea45cd483fc83a293b2c2542212cffa051e /src/modules
parentb33f836f1b863207a430bfa9cd1dffeaa406524d (diff)
Fixes for config reader
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11504 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index 7e6610901..86b035522 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -87,7 +87,7 @@ class CommandCheck : public Command
if (IS_LOCAL(targuser))
{
user->WriteServ(checkstr + " onport " + ConvToStr(targuser->GetPort()));
- std::string classname = targuser->GetClass()->GetName();
+ std::string classname = targuser->GetClass()->name;
if (!classname.empty())
user->WriteServ(checkstr + " connectclass " + classname);
}