From 955b3ef59b6d69d04d82c07a8f8548654c4d4d98 Mon Sep 17 00:00:00 2001 From: special Date: Wed, 6 May 2009 22:59:05 +0000 Subject: Fix two compile errors found by Shawn git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11366 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_gnutls.cpp | 2 +- src/modules/m_callerid.cpp | 2 +- 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::iterator it = dat2->wholistsme.begin(); it != dat2->wholistsme.end(); it++) -- cgit v1.2.3