diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-05 22:18:10 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-05 22:18:10 +0000 |
commit | ff11847cea53bc63b0c489b423a4e4fa6c05184b (patch) | |
tree | 035f560b77e07bbbb5184988d13930e9a1d354a0 | |
parent | 2df56b811b362dbf5a05a0bc7b0eee5ee4d77a40 (diff) |
Fix unsafe cast (const char * -> char *). Doesn't really matter, though, as nothing currently uses this code. ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10400 e03df62e-2008-0410-955e-edbf42e46eb7
-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; |