summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-13 14:02:24 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-13 14:02:24 +0000
commit9c832a2b8e62b3ccedd9276999d734c55e16db2f (patch)
tree810740176017e70f28545d92ec2846d6e6e5d53e /src
parentf62c05362356f20a5741b221f1e01eef92fcbf8b (diff)
more namespace fix0rz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10539 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_mysql.cpp10
-rw-r--r--src/modules/extra/m_sqlite3.cpp10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 7e2420267..ebebaf558 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -710,7 +710,7 @@ class Notifier : public BufferedSocket
class MySQLListener : public ListenSocketBase
{
ModuleSQL* Parent;
- insp_sockaddr sock_us;
+ irc::sockets::insp_sockaddr sock_us;
socklen_t uslen;
FileReader* index;
@@ -872,15 +872,15 @@ void DispatcherThread::Run()
return;
}
- insp_sockaddr addr;
+ irc::sockets::insp_sockaddr addr;
#ifdef IPV6
- insp_aton("::1", &addr.sin6_addr);
+ irc::sockets::insp_aton("::1", &addr.sin6_addr);
addr.sin6_family = AF_FAMILY;
addr.sin6_port = htons(MessagePipe->GetPort());
#else
- insp_inaddr ia;
- insp_aton("127.0.0.1", &ia);
+ irc::sockets::insp_inaddr ia;
+ irc::sockets::insp_aton("127.0.0.1", &ia);
addr.sin_family = AF_FAMILY;
addr.sin_addr = ia;
addr.sin_port = htons(MessagePipe->GetPort());
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index 5e66ef469..5adb9ee93 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -64,7 +64,7 @@ class ResultNotifier : public BufferedSocket
class SQLiteListener : public ListenSocketBase
{
ModuleSQLite3* Parent;
- insp_sockaddr sock_us;
+ irc::sockets::insp_sockaddr sock_us;
socklen_t uslen;
FileReader* index;
@@ -448,15 +448,15 @@ class SQLConn : public classbase
return;
}
- insp_sockaddr addr;
+ irc::sockets::insp_sockaddr addr;
#ifdef IPV6
- insp_aton("::1", &addr.sin6_addr);
+ irc::sockets::insp_aton("::1", &addr.sin6_addr);
addr.sin6_family = AF_FAMILY;
addr.sin6_port = htons(listener->GetPort());
#else
- insp_inaddr ia;
- insp_aton("127.0.0.1", &ia);
+ irc::sockets::insp_inaddr ia;
+ irc::sockets::insp_aton("127.0.0.1", &ia);
addr.sin_family = AF_FAMILY;
addr.sin_addr = ia;
addr.sin_port = htons(listener->GetPort());