summaryrefslogtreecommitdiff
path: root/src/modules/m_customtitle.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-01 01:27:02 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-01 01:27:02 +0200
commit12872e3d4b942d10c4dc1ec9e099345b474ac874 (patch)
tree74445ff4ed0a28e61c9523d8de9039bd5e9107e1 /src/modules/m_customtitle.cpp
parentd1a88f0957aeef918af4cea5dcf87892df755130 (diff)
Change User::GetIPString() to return const std::string&
Diffstat (limited to 'src/modules/m_customtitle.cpp')
-rw-r--r--src/modules/m_customtitle.cpp2
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)