diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_check.cpp | 2 |
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); } |