diff options
Diffstat (limited to 'methods/rsh.h')
-rw-r--r-- | methods/rsh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/rsh.h b/methods/rsh.h index acdcb64e3..7545d5815 100644 --- a/methods/rsh.h +++ b/methods/rsh.h @@ -35,8 +35,8 @@ class RSHConn // Raw connection IO bool WriteMsg(std::string &Text,bool Sync,const char *Fmt,...); - bool Connect(std::string Host, std::string User); - bool Connect(std::string Host, unsigned int Port, std::string User); + bool Connect(std::string const &Host, std::string const &User); + bool Connect(std::string const &Host, unsigned int Port, std::string const &User); bool Comp(URI Other) const {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;}; // Connection control |