diff options
author | Peter Powell <petpow@saberuk.com> | 2017-10-27 19:15:23 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-10-27 19:15:23 +0100 |
commit | 08f6f056667df63d1673bea959c73b75393113c6 (patch) | |
tree | f051b9cc25c7eea86183560118dde0b777c6dd9a /src/modules/m_spanningtree/uid.cpp | |
parent | 998967b58afb411c70dbf772758d4e1a1c7bea7e (diff) |
Change SetClientIP to take a C++ string instead of a char array.
Diffstat (limited to 'src/modules/m_spanningtree/uid.cpp')
-rw-r--r-- | src/modules/m_spanningtree/uid.cpp | 2 |
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++; |