summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-10-27 19:15:23 +0100
committerPeter Powell <petpow@saberuk.com>2017-10-27 19:15:23 +0100
commit08f6f056667df63d1673bea959c73b75393113c6 (patch)
treef051b9cc25c7eea86183560118dde0b777c6dd9a /src/modules/m_spanningtree
parent998967b58afb411c70dbf772758d4e1a1c7bea7e (diff)
Change SetClientIP to take a C++ string instead of a char array.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/uid.cpp2
1 files changed, 1 insertions, 1 deletions
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::vector<std::st
_new->SetMode(mh, true);
}
- _new->SetClientIP(params[6].c_str());
+ _new->SetClientIP(params[6]);
ServerInstance->Users->AddClone(_new);
remoteserver->UserCount++;