summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-06 22:59:05 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-06 22:59:05 +0000
commit955b3ef59b6d69d04d82c07a8f8548654c4d4d98 (patch)
tree76f134d92e99a258a30c3ad9e6bbb25053d7468f /src
parent4c3329a0ced1a80c8bccce04d7974d060f8a1564 (diff)
Fix two compile errors found by Shawn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11366 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
-rw-r--r--src/modules/m_callerid.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 24c96117c..c284142a5 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -724,7 +724,7 @@ class ModuleSSLGnuTLS : public Module
void MakePollWrite(int fd)
{
//OnRawSocketWrite(fd, NULL, 0);
- EventHandler* eh = ServerInstance->ServerInstance->SE->GetRef(fd);
+ EventHandler* eh = ServerInstance->SE->GetRef(fd);
if (eh)
ServerInstance->SE->WantWrite(eh);
}
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp
index 03849fc2b..75f229401 100644
--- a/src/modules/m_callerid.cpp
+++ b/src/modules/m_callerid.cpp
@@ -286,7 +286,7 @@ public:
if (!dat2)
{
// How the fuck is this possible.
- return NULL;
+ return false;
}
for (std::list<callerid_data *>::iterator it = dat2->wholistsme.begin(); it != dat2->wholistsme.end(); it++)