summaryrefslogtreecommitdiff
path: root/src/chat-server/chatchannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chat-server/chatchannel.cpp')
-rw-r--r--src/chat-server/chatchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chat-server/chatchannel.cpp b/src/chat-server/chatchannel.cpp
index 2673bd18..aee4eb8c 100644
--- a/src/chat-server/chatchannel.cpp
+++ b/src/chat-server/chatchannel.cpp
@@ -108,7 +108,7 @@ void ChatChannel::setUserMode(ChatClient *user, unsigned char mode)
else
{
std::stringstream ss; ss << mode;
- user->userModes.insert(std::pair<ChatChannel*, std::string>(this, ss.str()));
+ user->userModes.insert(std::make_pair(this, ss.str()));
}
}