git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4080
e03df62e-2008-0410-955e-
edbf42e46eb7
* will be set with the given IP address
* and placed in CONNECTED state.
*/
* will be set with the given IP address
* and placed in CONNECTED state.
*/
- InspSocket(int newfd, char* ip);
+ InspSocket(int newfd, const char* ip);
/**
* This constructor is used to create a new
/**
* This constructor is used to create a new
this->ClosePending = false;
}
this->ClosePending = false;
}
-InspSocket::InspSocket(int newfd, char* ip)
+InspSocket::InspSocket(int newfd, const char* ip)
{
this->fd = newfd;
this->state = I_CONNECTED;
{
this->fd = newfd;
this->state = I_CONNECTED;