From 08f6f056667df63d1673bea959c73b75393113c6 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 27 Oct 2017 19:15:23 +0100 Subject: Change SetClientIP to take a C++ string instead of a char array. --- src/modules/m_spanningtree/uid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree') diff --git a/src/modules/m_spanningtree/uid.cpp b/src/modules/m_spanningtree/uid.cpp index 91c9f3ca8..2a17943e9 100644 --- a/src/modules/m_spanningtree/uid.cpp +++ b/src/modules/m_spanningtree/uid.cpp @@ -115,7 +115,7 @@ CmdResult CommandUID::HandleServer(TreeServer* remoteserver, std::vectorSetMode(mh, true); } - _new->SetClientIP(params[6].c_str()); + _new->SetClientIP(params[6]); ServerInstance->Users->AddClone(_new); remoteserver->UserCount++; -- cgit v1.2.3