From 6fa94ee369726677bf8b0f4a5bde8faa7d754d92 Mon Sep 17 00:00:00 2001 From: om Date: Thu, 29 Jun 2006 09:29:14 +0000 Subject: [PATCH] Remove hardcoded filename prefix to log message, with the new macro these are un-needed. Remove un-needed cast, ffs guys, templates stop you needing to cast the stuff inside them... So why do you do it anyway? :< git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4082 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 77c2c72b3..631d4920c 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -815,12 +815,12 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) if ((s) && (!s->Poll())) { - log(DEBUG,"inspircd.cpp: Socket poll returned false, close and bail"); + log(DEBUG,"Socket poll returned false, close and bail"); SE->DelFd(s->GetFd()); socket_ref[activefds[activefd]] = NULL; for (std::vector::iterator a = module_sockets.begin(); a < module_sockets.end(); a++) { - s_del = (InspSocket*)*a; + s_del = *a; if ((s_del) && (s_del->GetFd() == activefds[activefd])) { module_sockets.erase(a); -- 2.39.2