diff options
-rw-r--r-- | src/modules/m_inviteexception.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp index e88f5c58b..40c92363a 100644 --- a/src/modules/m_inviteexception.cpp +++ b/src/modules/m_inviteexception.cpp @@ -97,7 +97,7 @@ public: if (InspIRCd::Match(LM->user->GetFullRealHost(), it->mask) || InspIRCd::Match(LM->user->GetFullHost(), it->mask.c_str()) || (InspIRCd::MatchCIDR(mask, it->mask))) { // They match an entry - return (char*)it->mask.c_str(); + return it->mask.c_str(); } } return NULL; |