summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-08 21:19:34 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-08 21:19:34 +0000
commit45805210f8c9bbce6222c50863a1671f562ccfbb (patch)
tree880b7f38ecf1b707cd1f97f68f203d86c8a423f5
parent7bbef1a52b8437d3acc75a89570f6753fe2f4428 (diff)
Fix warning, thanks peavums
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10479 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/extra/m_mysql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index c41c25339..f6546d73e 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -717,7 +717,7 @@ class MySQLListener : public ListenSocketBase
FileReader* index;
public:
- MySQLListener(InspIRCd* Instance, int port, char* addr) : ListenSocketBase(Instance, port, addr) { }
+ MySQLListener(InspIRCd* Instance, int port, const std::string &addr) : ListenSocketBase(Instance, port, addr) { }
virtual void OnAcceptReady(const std::string &ipconnectedto, int nfd, const std::string &incomingip)
{