summaryrefslogtreecommitdiff
path: root/include/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/connection.h')
-rw-r--r--include/connection.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/connection.h b/include/connection.h
index 74c5fe7b4..e8af1b648 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -79,6 +79,7 @@ class ircd_connector : public Extensible
*/
bool SetHostAddress(char* host, int port);
+ std::string version;
public:
@@ -172,6 +173,9 @@ class ircd_connector : public Extensible
bool BufferIsComplete();
void ClearBuffer();
std::string GetBuffer();
+
+ void SetVersionString(std::string newversion);
+ std::string GetVersionString();
};
@@ -302,8 +306,8 @@ class connection : public Extensible
/** This function is deprecated and may be removed in a later alpha/beta
*/
long GenKey();
+
};
#endif
-