summaryrefslogtreecommitdiff
path: root/src/servers.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-22 02:26:54 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-22 02:26:54 +0000
commit350d6db395f1d681af441c89090a5189c15f751e (patch)
tree078f92be1b7cfe09d1e263af1c28eeeb06714042 /src/servers.cpp
parent5097707f6003a4a4e77b246148bbcbe67c767d6c (diff)
Changed revision id's to std::string
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1472 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/servers.cpp')
-rw-r--r--src/servers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servers.cpp b/src/servers.cpp
index 440a01e38..fe29948bc 100644
--- a/src/servers.cpp
+++ b/src/servers.cpp
@@ -157,7 +157,7 @@ bool serverrec::BeginLink(char* targethost, int newport, char* password, char* s
// targethost has been turned into an ip...
// we dont want this as the server name.
connector.SetServerName(servername);
- snprintf(connect,MAXBUF,"S %s %s %lu %lu :%s",getservername().c_str(),password,(unsigned long)myport,(unsigned long)GetRevision(),getserverdesc().c_str());
+ snprintf(connect,MAXBUF,"S %s %s %lu %s :%s",getservername().c_str(),password,(unsigned long)myport,GetRevision().c_str(),getserverdesc().c_str());
connector.SetState(STATE_NOAUTH_OUTBOUND);
connector.SetHostAndPort(targethost, newport);
this->connectors.push_back(connector);