diff options
| author | 2003-07-22 21:56:38 +0000 | |
|---|---|---|
| committer | 2003-07-22 21:56:38 +0000 | |
| commit | 61b45c935dbb50c280970c9f431fd1c7ef4eb680 (patch) | |
| tree | af2d10b329c9ef362d97c884827dd1e0a11841b4 /src/modules/m_cloaking.cpp | |
| parent | Added more code for custom channel/user modes via modules (diff) | |
| download | inspircd++-61b45c935dbb50c280970c9f431fd1c7ef4eb680.tar.gz inspircd++-61b45c935dbb50c280970c9f431fd1c7ef4eb680.tar.bz2 inspircd++-61b45c935dbb50c280970c9f431fd1c7ef4eb680.zip | |
STL namespace fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@176 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_cloaking.cpp')
| -rw-r--r-- | src/modules/m_cloaking.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index 46ed5cfec..d355ec657 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -32,13 +32,13 @@ class ModuleCloaking : public Module { if (strstr(user->dhost,".")) { - string a = strstr(user->dhost,"."); + std::string a = strstr(user->dhost,"."); char ra[64]; long seed,s2; memcpy(&seed,user->dhost,sizeof(long)); memcpy(&s2,a.c_str(),sizeof(long)); sprintf(ra,"%.8X",seed*s2*strlen(user->host)); - string b = Srv->GetNetworkName() + "-" + ra + a; + std::string b = Srv->GetNetworkName() + "-" + ra + a; Srv->Log(DEBUG,"cloak: allocated "+b); strcpy(user->dhost,b.c_str()); } |
