From 45805210f8c9bbce6222c50863a1671f562ccfbb Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 8 Sep 2008 21:19:34 +0000 Subject: Fix warning, thanks peavums git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10479 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_mysql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3