summaryrefslogtreecommitdiff
path: root/methods/rsh.h
diff options
context:
space:
mode:
Diffstat (limited to 'methods/rsh.h')
-rw-r--r--methods/rsh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/rsh.h b/methods/rsh.h
index b4c76479a..c81396b5f 100644
--- a/methods/rsh.h
+++ b/methods/rsh.h
@@ -34,7 +34,7 @@ class RSHConn
// Raw connection IO
bool WriteMsg(string &Text,bool Sync,const char *Fmt,...);
bool Connect(string Host, string User);
- bool Comp(URI Other) {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;};
+ bool Comp(URI Other) const {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;};
// Connection control
bool Open();