diff options
| author | 2013-04-01 01:27:02 +0200 | |
|---|---|---|
| committer | 2013-04-01 01:27:02 +0200 | |
| commit | 12872e3d4b942d10c4dc1ec9e099345b474ac874 (patch) | |
| tree | 74445ff4ed0a28e61c9523d8de9039bd5e9107e1 /src/modules/m_customtitle.cpp | |
| parent | m_samode Require an oper privilege to change the user modes of other users (diff) | |
Change User::GetIPString() to return const std::string&
Diffstat (limited to 'src/modules/m_customtitle.cpp')
| -rw-r--r-- | src/modules/m_customtitle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp index c65645bc9..4cd84c4cc 100644 --- a/src/modules/m_customtitle.cpp +++ b/src/modules/m_customtitle.cpp @@ -55,7 +55,7 @@ class CommandTitle : public Command char TheIP[MAXBUF]; snprintf(TheHost,MAXBUF,"%s@%s",user->ident.c_str(), user->host.c_str()); - snprintf(TheIP, MAXBUF,"%s@%s",user->ident.c_str(), user->GetIPString()); + snprintf(TheIP, MAXBUF,"%s@%s",user->ident.c_str(), user->GetIPString().c_str()); ConfigTagList tags = ServerInstance->Config->ConfTags("title"); for (ConfigIter i = tags.first; i != tags.second; ++i) |
